We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to Download a file at a given Url?

Hi, Support:
Is there any method to download a file at a given Url by using aspose.html.dll on Vb.net?
If there exists the function, and how to speed up the download progress?
Thanks for your help.


You can download resources by URL with code like this:

using (var document = new HTMLDocument())
    using (var response = document.Context.Network.Send(new RequestMessage(new Url("some url"))))
        // Some work on response

You can also add your own network request handler and measure the download time within it.