J
james.cssa
Hi,
I want to write some code to download some file and monitor the
download progress. I have an HttpURLConnection to the file I want to
download, but the contentLength is -1 for the connection, which means
unknown file size. Nevertherless, I can download the file w/o problems.
So how can I monitor the progress of a download in terms of percentage
completed? Thank you!
James
I want to write some code to download some file and monitor the
download progress. I have an HttpURLConnection to the file I want to
download, but the contentLength is -1 for the connection, which means
unknown file size. Nevertherless, I can download the file w/o problems.
So how can I monitor the progress of a download in terms of percentage
completed? Thank you!
James