|
#include <CFTPConnect.h>

Public Member Functions | |
| CFTPSocket () | |
| Default constructor. | |
| ~CFTPSocket () | |
| Destructor. | |
| virtual void | open (std::string hostName="", int port=0, CSocketOpenMode openMode=SOM_CONNECT) |
| Establish the connection. | |
| const CStrings & | response () const |
| Returns a reference to server response string list. | |
| const CStrings & | login (std::string user, std::string password) |
| Logs in to the server. | |
| const CStrings & | command (std::string cmd) |
| Sends a command to the server. | |
| const CStrings & | get_response () |
| Reads server response after calling a command. | |
Connects to FTP server. It takes two of such sockets to establish the correct FTP communication