P
python newbie
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.
Or am I going to have to be satisfied with having to just use a rename on
the server,
after uploading the file?
Thanks
Steve
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.
Or am I going to have to be satisfied with having to just use a rename on
the server,
after uploading the file?
Thanks
Steve