You need some way to communicate with the server. If you are not setting up your own server client on the server then you will have a hard time accessing it with just C++ without much programming.
If you only want to hit-up a server and grab some text off it I would use a utility like telnet or ssh.
You could try making your own telnet/HTTP client to connect to port 80 on the server and GET the text file, possibly. The HTTP protocol uses ASCII/plain text to communicate so you could make a C++ client that sets up a connection with a server on port 80 and communicate with the HTTP protocol and try to snag your text file off it.
You could (if you're too lazy to make your own) check out some C++ HTTP/FTP libraries HERE .
\007
Junior Poster in Training
67 posts since Apr 2011
Reputation Points: 21
Solved Threads: 6