NetTalk Central

The Rest Of NetTalk => The Rest - Ask For Help => Topic started by: IanHickton on July 22, 2010, 01:15:19 AM

Title: How to Download a file using HTTP
Post by: IanHickton on July 22, 2010, 01:15:19 AM
Hi,

Using NT5, how would I download a binary file by passing the URL ?.

Ian
Title: Re: How to Download a file using HTTP
Post by: kevin plummer on July 22, 2010, 05:54:37 AM
check out the download file examples
Title: Re: How to Download a file using HTTP
Post by: Bruce on July 22, 2010, 06:01:55 AM
You mean using the NetWebClient class Ian?

Use the Fetch method.
Then in PageReceived call the SavePage (filename) method.

cheers
Bruce
Title: Re: How to Download a file using HTTP
Post by: IanHickton on July 22, 2010, 07:21:30 AM
Thanks for the replies Kevin & Bruce.

I used the NetWebClient class as you suggested Bruce, and it works beautifully. Many thanks for your help.