šŸ“„Download size and progress

by Ricardo FernƔndez Serrata

Version 1 (December 31, 2020)

Download (9 downloads)

Detects size of remote file before downloading and shows progress by checking the size of the local file at regular intervals.

The reason why Delay is placed right after the "updater" fiber is forked, is to give enough time for AM (and 2nd HTTP request) to create the "./Download/Automate/" directory and to only check the size of local file after it has changed to a non-zero value.

This only works correctly if "Content-Length" exists within the response of the HTTP request.

The default pre-populated URL is Android SDK Platform-Tools for Windows because it's the best example file I could find lol

3.0 average rating from 1 reviews

5 stars
0
4 stars
0
3 stars
1
2 stars
0
1 star
0
Reports
0

Reviews and ratings can be submitted in the app.