Click to See Complete Forum and Search --> : using remote files in c++


kalesh777
March 1st, 2006, 05:58 PM
I would like to know how remote files can be read from?
suppose there is a file
www.exapmle.com/data.txt
which is regularly updated by the web server
then I have a program on a pc which should read the data from that file
any help appreciated

wildfrog
March 1st, 2006, 06:16 PM
You can start with the InternetOpen (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wininet/wininet/internetopen.asp) function, and then continue with the appropriate WinInet (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wininet/wininet/wininet_functions.asp) function.

- petter