newbie question: ftp.storbinary()

Scott Ballard scottballard at hotmail.com
Tue Jan 23 16:08:57 EST 2007


Sorry for the lame question, I'm still trying to pick up Python and new to 
the list here.

Question:
I'm trying to write a python script that will access an FTP site and upload 
some files. I've gotten everything working except for the actual uploading 
of the files.

I'm assuming that  I should use storbinary( command, file[, blocksize]) to 
transfer the files. the documentation says "command should be an appropriate 
"STOR" command: "STOR filename"."

I can't seem to figure out an `appropriate "STOR" command' is???

Thank for reading my post.

Cheers,
Scott





More information about the Python-list mailing list