FTP_DownloadProgress error

mbisso

Member
Licensed User
Longtime User
Please see the attached screen grab.
When the DownloadProgress event comes up, TotalDownloaded seems fine, but Total is always -1.
 

mbisso

Member
Licensed User
Longtime User
work around

The solution for this is to read the Files(i).size and to use this value instead of the Total in the calculation of the progress.
 
Upvote 0
Top