March 2003
Intermediate to advanced
656 pages
39h 30m
English
storbinary
f.storbinary(command,file,blocksize=8192)Stores data in binary mode. command is a
string with an appropriate FTP command, typically
'STOR
filename‘.
file is a file open in binary mode, which
storbinary reads, repeatedly calling
file
.read(
blocksize
),
to obtain the data to transfer to the FTP server.