Downloading several files - C++ function required

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Downloading several files - C++ function required

Post by Joe »

Does anyone know any inbuilt functions in C++ which gives me the ability to download several files from a server at once. I have tried internetreadfile but I am only resulted with one single file, therefore it is usless.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

there are no built-in C++ functions for downloading. internetreadfile is a Microsoft extension. What's the problem with calling internetreadfile multiple times, using an event hook or something...
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Post by Joe »

feyd, I have tried calling internetreadfile multiple times but for some strange reason it only downloads the first specified file.
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Post by Joe »

Its ok now, I created a dll which holds the data I want to be passed rather than individual files. Thanks for the help though!
Post Reply