python newbie wrote: > Hi, first I wanted to say that: > > I have finally been able to ftp a file in my python app - however, it > works like this: > > When you use storbinary and hand it a full path > "c:\myfiles\morefiles\picture.gif".. > it will find the file on your hard drive, and > then upload the file, but on the ftp server, it literally names the file: > > "c:\myfiles\morefiles\picture.gif" > > > I'd like to be able to first > > ftplib.lcd( "c:\myfiles\morefiles" ) > > and then just > > storbinary( picture.gif .. ). > > But the python doc doesn't show any LCD.
os.chdir() -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter -- http://mail.python.org/mailman/listinfo/python-list