Hi there...
found this and working for one file..
now tried to download two files in row...
I want to have to downloadprogress in the same sub... files downloading ok.. but second download not show the progress...
Thought if "success" was different will be ok... but it is not the problem... seems that second time in row - can't get "taskid"... but why ?
Anyone can help ?
found this and working for one file..
[Solved] Download Files from server with progress
Hi all How can I do something like this https://www.b4x.com/android/forum/threads/download-huge-files-with-httputils2.30220/ from B4J?
www.b4x.com
now tried to download two files in row...
I want to have to downloadprogress in the same sub... files downloading ok.. but second download not show the progress...
B4X:
Wait For (DownloadAndTrackProgress("https://www.mysite.com/myfile.ver", "myfile.ver")) Complete (Success1 As Boolean)
If Success1 Then
ProgressBar1.Progress=0
Wait For (DownloadAndTrackProgress("https://www.mysite.com/mysecondfile.txt", "mysecondfile.txt")) Complete (success As Boolean)
If success Then
...
Thought if "success" was different will be ok... but it is not the problem... seems that second time in row - can't get "taskid"... but why ?
Anyone can help ?