January 29th, 2003, 06:36 AM
Getting a remote file (FTP)
I've looked through a bunch of C++ books, but can't find anything that deals with FTP. I've seen countless tutorials on reading a local file, but how would you read a file from a website in C++?
January 29th, 2003, 09:59 AM
The function to read a file through ftp under windows is [url=http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wininet/wininet/ftpgetfile.asp]ftpgetfile[/ur] which is part of the wininet dll.
You can find the appropriate functions that are needed with it on the msdn website.