[Tutor] Passing command line argument in function

Gary Taylor squeaky at sdf.lonestar.org
Tue Jun 14 16:14:59 CEST 2005

>> ftp.storbinary(stor file_to_transfer, open(file_to_transfer,"r"))
>You need to create the command as a string:
>ftp.storbinary("stor " + file_to_transfer,

That worked perfectly, I was way off.



p.s. sorry for the out of thread message, my mail seems to
be having problems.

squeaky at sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org

More information about the Tutor mailing list