Android Question What would cause "Total" value of FTP_UploadProgress to be "-1"?

JohnC

Expert
Licensed User
Longtime User
I am having a problem uploading to a windows server using a B4A app.

I am using 1.62 of the network, and the uploads just hang in the middle of the upload progress.

And when the progress sub event does fire, the "total" value provided is always "-1" even though the TotalUploaded is incrementing:

B4X:
Sub FTP_UploadProgress (ServerPath As String, TotalUploaded As Long, Total As Long)

I am able to upload to the same ftp server from my windows PC no problem (using the same username/password/non-passive mode).

So, where does the "Total" value come from? Is it a variable stored in the B4A network library routine?

What could cause it to provide a "-1" value?
 

JohnC

Expert
Licensed User
Longtime User
Upvote 0
Top