Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Downloading

Status
Not open for further replies.

AAP

Programmer
May 8, 2000
93
0
0
GB
Does anyone know of a command line utility or SDK to allow downloading from the internet from within a windows aplication?

What I want is do it be able to automatically download a certain spreadsheet from a known address on our intranet from within an application. I don't want to have to load explorer,or force users to do the job manually.

Thanks guys
 
What about FtpOpenFile, InternetOpenURL, InternetReadFile and similar functions from WININET.DLL?

They work most of the time :).

buho (A).



 
Beware:

Wininet is very buggy, and very tricky if you don't want it to freeze your program while it downloads. My recommendation is that you put all Wininet code in a separate thread--or even better, a child process, if that's possible.

[sub]I REALLY hope that helps.[/sub]
Will
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top