[ftputil] FTP Transfer Progress // Multiple Threads
Stefan Schwarzer
sschwarzer at sschwarzer.net
Sun Oct 21 10:02:31 CEST 2007
Hi Franz,
On 2007-10-20 21:46, Stefan Schwarzer wrote:
> Unfortunately, there's no elegant way to track the progress of
> uploads/downloads. A workaround could be to "stat" the target file
> at certain intervals and use the results.
To get the actual size of the file, remember to invalidate its
path in the cache before calling the stat method [1]. Otherwise
you would always get the cached value.
[1] http://ftputil.sschwarzer.net/trac/wiki/Documentation#local-caching-of-file-system-information
Regards,
Stefan
More information about the ftputil
mailing list