Anybody noticed a problem with this...
The Long variable 'Total' always seems to return -1 whatever the file size. I tried PassiveMode True/False but no change. Is this a bug?
B4X:
Sub FTP_UploadProgress (ServerPath As String, TotalUploaded As Long, Total As Long)
ProgressBar1.Progress = TotalUploaded/Total *100
End Sub
The Long variable 'Total' always seems to return -1 whatever the file size. I tried PassiveMode True/False but no change. Is this a bug?