High Level FTP library

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Paulo Pinto

    #1

    High Level FTP library

    Hello,

    Is there any Python library similar to NET::FTP from Perl?
    ftplib seems too lowlevel.

    I already found a few, but would like to get one that is
    endorsed by the community.

    Thanks,
    Paulo


  • Jonas Geiregat

    #2
    Re: High Level FTP library

    Paulo Pinto wrote:[color=blue]
    > Hello,
    >
    > Is there any Python library similar to NET::FTP from Perl?
    > ftplib seems too lowlevel.
    >
    > I already found a few, but would like to get one that is
    > endorsed by the community.
    >
    > Thanks,
    > Paulo[/color]

    libftp sucks just look at how it's written such evil code!
    Not that I know of, write your own based on libftp good luck!

    Comment

    • billuseslinux@gmail.com

      #3
      Re: High Level FTP library

      Paulo Pinto wrote:[color=blue]
      > Hello,
      >
      > Is there any Python library similar to NET::FTP from Perl?
      > ftplib seems too lowlevel.
      >
      > I already found a few, but would like to get one that is
      > endorsed by the community.
      >
      > Thanks,
      > Paulo[/color]


      Have you looked at ftputil?



      Comment

      • Russell E. Owen

        #4
        Re: High Level FTP library

        In article <7NGOe.6737$Nb2 .115820@news1.n okia.com>,
        "Paulo Pinto" <pjmlp@progtool s.org> wrote:
        [color=blue]
        >Hello,
        >
        >Is there any Python library similar to NET::FTP from Perl?
        >ftplib seems too lowlevel.
        >
        >I already found a few, but would like to get one that is
        >endorsed by the community.[/color]

        Try urllib or urllib2; these are included with python. urllib2 is newer
        but only works for anonymous ftp. Caveat: I ran into trouble doing
        multiple simultaneous ftp using urllib. I have not used urllib2.

        Another possibility is Twisted Framework. It has a bit of a learning
        curve but is well regarded. If you plan to do a lot with networking you
        should definitely check it out.

        -- Russell

        Comment

        • Peter A. Schott

          #5
          Re: High Level FTP library

          I've used the ftputil package before with some success. It's not bad, but it
          really depends on what you're trying to do. If you write a couple of custom
          functions to get you started, you should be able to put those in a module and
          re-use as needed.

          I know that I had to code my own stuff to handle some non-standard FTP flavors
          for some of our partners. Knowing how to work ftplib was pretty helpful at that
          point as ftputil didn't support those versions of FTP. It still did a great job
          for regular stuff, but not for that.

          Hope that helps some.

          -Pete


          "Paulo Pinto" <pjmlp@progtool s.org> wrote:
          [color=blue]
          > Hello,
          >
          > Is there any Python library similar to NET::FTP from Perl?
          > ftplib seems too lowlevel.
          >
          > I already found a few, but would like to get one that is
          > endorsed by the community.
          >
          > Thanks,
          > Paulo
          >[/color]

          Comment

          Working...