Yes, I tried using just the filename itself in using storbinary, but it returned some kind of error, but your suggestion to use os.chdir is so obvious I'm not sure why I didn't think of that. Thanks for the email Steve
On 8/6/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > 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 > > > -- http://mail.python.org/mailman/listinfo/python-list