FTP.storbinary(command, file[, blocksize, callback])
Store a file in binary transfer mode. command should be an appropriate
STOR command: "STOR filename". file is an open file object which is
read until EOF using its read() method in blocks of size blocksize to
provide the data to be stored. The blocksize argument defaults to
8192. callback is an optional single parameter callable that is called
on each block of data after it is sent.
Changed in version 2.1: default for blocksize added.
Changed in version 2.6: callback parameter added.
blocksize可以计算上传了几个block。然后在callback中就可以计算进度条了。