Page 1 of 1

Downloading several files - C++ function required

Posted: Wed Sep 22, 2004 10:43 am
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.

Posted: Wed Sep 22, 2004 10:51 am
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...

Posted: Wed Sep 22, 2004 11:52 am
by Joe
feyd, I have tried calling internetreadfile multiple times but for some strange reason it only downloads the first specified file.

Posted: Wed Sep 22, 2004 11:58 am
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!