ttsolution Member Licensed User Longtime User Oct 23, 2013 #1 Dear Erel, I have tested the LargeFileDownload sample upoaded by you. It works fine but I do not known why it just download the previous version of the file I do not change any thing in your sample just the link below Private link1 As String = "http://myserver/Autoupdate/dsm.apk" if I uploaded the dsm.apk version 2 to myserver then it download the version 1 if I uploaded the dsm.apk version 3 to myserver then it download the version 2 I take one day for searching in forum but can not solve this. Many thanks for your advice Jonh,
Dear Erel, I have tested the LargeFileDownload sample upoaded by you. It works fine but I do not known why it just download the previous version of the file I do not change any thing in your sample just the link below Private link1 As String = "http://myserver/Autoupdate/dsm.apk" if I uploaded the dsm.apk version 2 to myserver then it download the version 1 if I uploaded the dsm.apk version 3 to myserver then it download the version 2 I take one day for searching in forum but can not solve this. Many thanks for your advice Jonh,
Erel B4X founder Staff member Licensed User Longtime User Oct 23, 2013 #2 The file is not cached locally. The problem is in your server. Upvote 0
ttsolution Member Licensed User Longtime User Oct 23, 2013 #3 I have checked myserver. It is strange that even after I changed the AutoUpdate folder name to AutoUpdate1 the LargeFileDownload Application in my Samsung Galaxy still download the file successfully with a physical file saved to DirDefaultExternal folder (but if I test using laptop browser it failed because the url path is not exists). Very confused ! Many thanks for any help/advice Upvote 0
I have checked myserver. It is strange that even after I changed the AutoUpdate folder name to AutoUpdate1 the LargeFileDownload Application in my Samsung Galaxy still download the file successfully with a physical file saved to DirDefaultExternal folder (but if I test using laptop browser it failed because the url path is not exists). Very confused ! Many thanks for any help/advice
Erel B4X founder Staff member Licensed User Longtime User Oct 23, 2013 #4 Are you checking that Job.Success is True in JobDone? Upvote 0
ttsolution Member Licensed User Longtime User Oct 23, 2013 #6 I even exit the application ==> run again, change the folder name in server (Autoupdate to Autoupdate1) it still can download normally. Very strange ! There is a ghost in my Phone ! Last edited: Oct 23, 2013 Upvote 0
I even exit the application ==> run again, change the folder name in server (Autoupdate to Autoupdate1) it still can download normally. Very strange ! There is a ghost in my Phone !
Erel B4X founder Staff member Licensed User Longtime User Oct 23, 2013 #7 HttpClient doesn't cache anything. The cached file is somewhere else. Maybe in the 3g connection? Upvote 0
ttsolution Member Licensed User Longtime User Oct 23, 2013 #8 Many thanks Erel, you are right. I just change to test via 3G connection it run well. I was tested with wifi connection, so the cached maybe in wifi router configuration. Thanks again, Upvote 0
Many thanks Erel, you are right. I just change to test via 3G connection it run well. I was tested with wifi connection, so the cached maybe in wifi router configuration. Thanks again,