Progress indicator during FTP upload

Dave Kuhlman dkuhlman at rexx.com
Mon Jan 5 01:42:59 CET 2004


Christophe Delord <no.spam> wrote:

> On Sun, 04 Jan 2004 19:31:34 +0100, Frantisek Fuka wrote:
> 
>> My application uses ftplib to upload files to remote server. What
>> is the cleanest way to provide progress indicator for long files?
>> What exactly should I override in the ftplib (I am not very
>> proficient in the FTP protocol)?
>> 
> 
> Hello,
> 
> To update my web site I wrote a script in wich I have overriden
> ftplib.FTP to print a dot when a block of bytes is sent. Here is
> my dot_FTP class :

Slick.  Thank you.

Dave

[snip]


-- 
http://www.rexx.com/~dkuhlman
dkuhlman at rexx.com



More information about the Python-list mailing list