Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

To read URL from a given file at run-time and save it into a specified directory

4 views
Skip to first unread message

Abhineet Ayan

unread,
Feb 2, 2012, 2:26:52 AM2/2/12
to
Hi All,

WIN32 programming

I have written a code to establish Internet connection and access the
resurces from a hard-coded URL and saves the file to hard-coded
directory of my computer.
Is there a way so that my code can read a list of URLs fom a text file
given at the runtime at console window and then save the resources to
a specified directory. The directory path and filename wud also be
given at console at runtime.

Ex-
Internet Connection established...asks for a file name at
console...<input given- a.txt>
reads a.txt (containing a list of URLs) and then asks a target
directory <input given- D://temp/temp.txt>
downloads from URLs one by one and saves it in the temp.txt


Thanks.
Message has been deleted
0 new messages