1

Recently, I downloaded some files out of Google Drive, and it seems interesting that the download bar doesn't like any other cloud service.

Picture here.

The Google Drive download file is the first one. Does anybody know how? If you know, please answer the question with the API used to run the download

1 Answer 1

3

That's nothing special, just a regular HTTP download with no Content-Length specified by the server (so the browser doesn't know what percentage to show). It likely uses chunked transfer to distinguish between completed & interrupted downloads.

(Frankly, they could have done better than that.)

If you want to see a fancy download bar, try MEGA – they use the JS "filesystem" API, so the download progress is shown within the webpage and files only appear in the browser's list once they're done.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .