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
pgpQv26B7IZNF.pgp
Description: PGP signature
-- http://mail.python.org/mailman/listinfo/python-list