[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,
>open(file_to_transfer,"r"))
>
>Kent
That worked perfectly, I was way off.
Thank-you!
Gary
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