FTP

A

Arne

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
 
F

Fredrik Lundh

Arne said:
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.

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

http://www.python.org/doc/lib/module-ftplib.html

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

</F>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,292
Messages
2,571,494
Members
48,179
Latest member
รับปั๊มไลค์|LikePro

Latest Threads

Top