FTP

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

    #1

    FTP

    Hello!

    I want to connecto to a ftp server. There I woult like to read the
    directiroy and getting the filename, file owner and the file size.

    How can I do this in python and if possible please post the code for it.

    Thanks!

    Arne


  • Rene Pijlman

    #2
    Re: FTP

    Arne:[color=blue]
    >I want to connecto to a ftp server. There I woult like to read the
    >directiroy and getting the filename, file owner and the file size.
    >
    >How can I do this in python[/color]

    Source code: Lib/ftplib.py This module defines the class FTP and a few related items. The FTP class implements the client side of the FTP protocol. You can use this to write Python programs that pe...


    --
    René Pijlman

    Comment

    • Fredrik Lundh

      #3
      Re: FTP

      "Arne" <arne.meissner@ gmx.de> wrote:
      [color=blue]
      > I want to connecto to a ftp server. There I woult like to read the
      > directiroy and getting the filename, file owner and the file size.
      >
      > How can I do this in python and if possible please post the code for it.[/color]

      there's an example in the library reference that does exactly
      that:

      The official home of the Python Programming Language


      (it's above the fold, so I'm not sure how you missed it).

      </F>



      Comment

      Working...