ftp mget

allanc allan_NOSPAMcuenca at nospamyahoo.com
Thu Mar 25 18:54:51 EST 2004


Anybody know if there's an ftp client in python that can do an mget?

My current implementation of an mget uses ftpconnection.nlst() to retrieve 
the list of filenames. Then iterates through this list with
retrlines('RETR ' + fname,callback).

I'd like to eliminate a LIST command on the ftp server altogether.

Thanks to all.

Allan



More information about the Python-list mailing list