>>
>>
>> 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
I'm trying to pass the name of a file as the first argument
to the ftp.storbinary function(?) below. The only thing I
can get to work is the real file name hard coded as the
argument. I've tried parenthesis, single quotes, double
quotes, and many combinations of the previous. I've tried
passing s