-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Network Download File Progress Problem #206
Comments
We can try to fix it in 1-2 weeks. Simple solution is to flush file while download it from server |
Simple solution is to flush file while download it from server?? what you mean? |
We can do it in native code, so RhoFile.FileSize will return actual values |
if you can fix that , then please do it. |
@genywind are you sure also cached size would be reflected? |
@genywind I see some stuff was done in the curl in master branch.could you please give some explanation? |
Hi, |
Hi, please try to test it with branch https://github.com/rhomobile/rhodes/tree/net_flushOnPull and provide feedback if it works for you. |
Could you please provide a brief understanding of what is changed and how it is supposed to work? I mean the File.Size or Network.FileSize will now reflect actual size of downloaded part? I cannot test out untill I will not understand how to get the progress of the download. I am not so advanced to understand it from the code changeset. So please advise how to test, and I will do. |
@gelinger777 Sorry for the such late answer. Rhomobile is now developed by Tau Technologies and we are working on resolution of many issues and doing our best to respond to platform users feedback. Yes, the date would be immediately written to storage so file size will reflect actual size of data received. |
Good that you took it back over. :) A good implementation of Download with callback mechanism to show progress and re-download when network is down or when connection is broken would be a good feature to have . |
We have this one in the backlog. As we are providing paid support, requests from paid customers have higher priority than from community. |
@gelinger777 please see |
Hi All, I am raising this issue, because it's very fatal and vital for any App Developer.
Problem is Following. When there is bigger file to download from server, we have a NEED , or I would say a Requirement to show the progress of download to the user for usability purposes. We have tries to find a solution by touching and getting the size of dinamic file
filename.extention.rhodownload
But the problem is on Rhosimulator is working, but on iOS happens following. what was obtained first time with Network.FileSize on next call stays, so somehow the same value stays. That's the problem that we cannot use this approach. It's a NEED to have a small callback or a call where from we can get the actual status of the download.
Can we put this in your timeline?
The text was updated successfully, but these errors were encountered: