A newbie question on ftplib.
Srihari Vijayaraghavan
harisri at bigpond.com
Thu Mar 29 06:47:05 EST 2001
Hello,
When I execute the following statement under Linux it uploads the binary
file properly, but under Windows NT it creates only 512 bytes file at the
ftp server.
ftp.storbinary('STOR ' + xyz, open(xyz), 1024)
I tried various values (1, 128, 256, 515) for the "number of blocks"
parameter.
I am using Python 2.0 on both Windows NT (Windows NT 4.0 / SP6a), and on
Linux. (Linux 2.2.x and 2.4.x)
Can I someone help me correcting if I am doing something wrong?
Advance thanks,
--
Hari.
More information about the Python-list
mailing list