[Tutor] ftplib.storbinary and using a progress bar

johnf jfabiani at yolo.com
Sun Sep 7 03:49:39 CEST 2008


Hi,
I'm currently using ftplib.storbinary() to upload a file to a FTP server.  
However, I would like to inform the user of the progress being made during 
the file transfer (it could be a very long transfer).  But 
ftplib.storbinary() has no callback like retrbinary() so does anyone have a 
thought on how I can update my user on the progress of the transfer.  BTW  I 
have to use a binary transfer because the file being transfer is not text.
-- 
John Fabiani


More information about the Tutor mailing list