-
Notifications
You must be signed in to change notification settings - Fork 43
Question: Is there a way one can get information regarding how much of an Object has been downloaded? #68
Comments
The SDK doesn't support progress yet. BUt i understand that it can be useful to have it. I'll add it to feature requests for now. |
Is there any expected date for the availability of this feature? Actually I'm running out of time. |
at the moment we do not have any time line for this feature. If you want to get the current downloaded bytes of the object then you will have to customize the UnityMainthreadDispatcher.cs and have an event handler to send you http progress. |
Heres my solution for download progress using the S3Example files: modifying UnityMainThreadDispatcher.cs
modifying S3Example.cs
Now if I can only figure out why ram is consumed at a ridiculous rate using the GetObjectAsync for larger files... but that's a separate issue... |
Thank you DaleEmrose, it will certainly help me. |
I guess i can help with this issue. I also posted an issue regarding this long back (The ram issue). I still can't confirm it , but what i guess is happening is that , GetObjectAsync while downloading an object is expanding the compressed file formats.In my case i was downloading compressed unity asset bundles from s3, but they were getting expanded while downloading and the ram usage shot up. The solution i did was , added by own script to the asset bundle script , which compress the the unity package into a zip , and i'll upload that zip on s3. After downloading the zip via GetObjectAsync , i had a script to unzip it at the runtime. This fixed my ram usage issue. |
When queuing a lot of requests, I wanted to keep track of a specific post request. I added code in #107 to add a callback to post requests so you can watch over the web request object, in case anyone finds it useful |
Moved to feature request https://github.com/aws/aws-sdk-net/blob/master/FEATURE_REQUESTS.md |
So we have to show a progress bar for the download of every s3 Object. How can this be achieved? Currently the callback is fired after the async operation has been completed.
The text was updated successfully, but these errors were encountered: