D drmover Member Licensed User Longtime User Aug 30, 2011 #1 Hello, I am using the FTP library (version 1.01) which is working very nice except for one issue: While using the event _UploadProgress (ServerPath As String, TotalUploaded As Long, Total As Long) the Total variable keep coming as -1. Any idea what am I doing wrong? Thank you for your help, Elad.
Hello, I am using the FTP library (version 1.01) which is working very nice except for one issue: While using the event _UploadProgress (ServerPath As String, TotalUploaded As Long, Total As Long) the Total variable keep coming as -1. Any idea what am I doing wrong? Thank you for your help, Elad.
Erel B4X founder Staff member Licensed User Longtime User Aug 31, 2011 #2 You are not doing anything wrong. -1 means that the server didn't send the total size. It appears to be the common case. You should instead find the size yourself using ListFiles. Upvote 0
You are not doing anything wrong. -1 means that the server didn't send the total size. It appears to be the common case. You should instead find the size yourself using ListFiles.