thedesolatesoul Expert Licensed User Longtime User Aug 3, 2011 #1 Hi, Is it possible to gauge the progress of an upload/download with the HttpUtils? Thanks!
Erel B4X founder Staff member Licensed User Longtime User Aug 3, 2011 #2 You can use a timer and check the size of the downloaded file. The file is downloaded with this command (HttpUtilsService: line 70) B4X: Response.GetAsynchronously("response", File.OpenOutput(TempFolder, TaskId, False), True, TaskId) Upvote 0
You can use a timer and check the size of the downloaded file. The file is downloaded with this command (HttpUtilsService: line 70) B4X: Response.GetAsynchronously("response", File.OpenOutput(TempFolder, TaskId, False), True, TaskId)
thedesolatesoul Expert Licensed User Longtime User Aug 3, 2011 #3 Thats a good idea. What about uploads? Maybe I can POL the upload site to check the size on the server? Upvote 0
Thats a good idea. What about uploads? Maybe I can POL the upload site to check the size on the server?
Erel B4X founder Staff member Licensed User Longtime User Aug 3, 2011 #4 How large are the uploaded files? Maybe you should use FTP instead? It includes a progress event. Upvote 0
thedesolatesoul Expert Licensed User Longtime User Aug 3, 2011 #5 This is a Dropbox client so it cannot use FTP. Also, I may have no idea about the file sizes but they could be big. I think they expect us to monitor how much data has been uploaded at the client side. Upvote 0
This is a Dropbox client so it cannot use FTP. Also, I may have no idea about the file sizes but they could be big. I think they expect us to monitor how much data has been uploaded at the client side.
Erel B4X founder Staff member Licensed User Longtime User Aug 3, 2011 #6 If all you need is to monitor the upload then checking the uploaded file size should be enough. Upvote 0
thedesolatesoul Expert Licensed User Longtime User Aug 3, 2011 #7 Okay, I will try this. The only thing I am concerned about however is that maybe the file cannot be accessed until it is completely uploaded. Upvote 0
Okay, I will try this. The only thing I am concerned about however is that maybe the file cannot be accessed until it is completely uploaded.