1 Answer
1

Instead of reading all the bytes at once and then uploading them all at once, you could read and write the bytes in chunks of a set size and then calculate the percentage based on the total bytes. As a quick example, here's how you could update the progress of the upload each kilobyte sent.