Archived Forum Post

Index of archived forum posts

Question:

http - how to get the number of bytes downloaded?

Mar 14 '14 at 11:39

How do I get the number of bytes downloaded after a simple download?

For example: success = http.Download(url, urlDir);


Answer

The Download method downloads to a file. After it completes, and if it was successful, get the size of the file. If you don't know how to do this in your programming language, Chilkat has a FileAccess class/object that can do it.


Answer

lastErrorXml() should have a tag with this infomation


Answer

A free FileAccess class/object, great thanks.