NetTalk Central
September 05, 2010, 04:54:38 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the NetTalk Central Forums!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How to Download a file using HTTP  (Read 72 times)
IanHickton
Newbie
*
Posts: 2


View Profile Email
« on: July 22, 2010, 01:15:19 am »

Hi,

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

Ian
Logged
kevin plummer
Sr. Member
****
Posts: 327



View Profile WWW
« Reply #1 on: July 22, 2010, 05:54:37 am »

check out the download file examples
Logged
Bruce
Hero Member
*****
Posts: 1814



View Profile
« Reply #2 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
Logged
IanHickton
Newbie
*
Posts: 2


View Profile Email
« Reply #3 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. 
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!