M mbisso Member Licensed User Longtime User Aug 12, 2011 #1 Please see the attached screen grab. When the DownloadProgress event comes up, TotalDownloaded seems fine, but Total is always -1.
Please see the attached screen grab. When the DownloadProgress event comes up, TotalDownloaded seems fine, but Total is always -1.
M mbisso Member Licensed User Longtime User Aug 12, 2011 #2 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
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.
Erel B4X founder Staff member Licensed User Longtime User Aug 12, 2011 #3 Not all servers return the total value during download. You can first list the files, save the file size and then download the file. Upvote 0
Not all servers return the total value during download. You can first list the files, save the file size and then download the file.