Does FTPLIB have a 'local change directory' ?

jepler at unpythonic.net jepler at unpythonic.net
Sat Aug 6 21:39:44 EDT 2005


If you want to change the working directory of a Python program, then use
os.chdir() for that purpose.  That's what 'lcd' does in ftp client software.
It doesn't send a remote command of any kind.

Or, when you call the storbinary method, give the os.path.basename() of the
file you are storing, instead of the name you used to open the file on the local
system.

Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20050806/9a4b5315/attachment.sig>


More information about the Python-list mailing list