Defined in file: hzFtpClient.h
This class employes the private sub-class _ftpline as follows:-
_ftpline
Constructors/Detructors
| hzFtpClient* | hzFtpClient | (void) | |
| NULL-BASIS | ~hzFtpClient | (void) |
Public Methods:
| hzEcode | FileDelete | (const hzString& SvrFilename) | |
| hzEcode | FileDownload | (hzDirent& finfo) | ** Rename the file to the target name, set mtime of the local file to match that of the server |
| hzEcode | FileRename | (const hzString& oldsvrname, const hzString& newsvrname) | ** The RNFR was OK so now send the RNTO |
| hzEcode | FileUpload | (const hzString& SvrFilename, const hzString& LocFilename) | |
| hzEcode | GetDirList | (hzVect<hzDirent>& listing, const hzString& Criteria) | |
| hzEcode | GetServerDir | (void) | ** Check respons is valid |
| hzEcode | Initialize | (const hzString& server, const hzString& username, const hzString& password) | |
| hzEcode | QuitSession | (void) | |
| hzEcode | RemoteDirCreate | (const hzString& dir) | |
| hzEcode | RemoteDirDelete | (const hzString& SvrDirname) | |
| void | SetDebug | (bool bDebug) | |
| hzEcode | SetLocalDir | (const hzString& dir) | |
| hzEcode | SetRemoteDir | (const hzString& dir) | ** Check respons is valid |
| hzEcode | StartSession | (void) | Start an FTP session (establish a connection witht the FTP server) Arguments: None |
| hzEcode | _ftprecv | (unsigned int& nRecv, const char* callFn) | |
| void | _logrescode | (void) | |
| hzEcode | _openpasv | (hzTcpClient& X) | |
| hzEcode | _reconnect | (void) | |
| hzEcode | _setmetafile | (hzDirent& meta, char* line) |
Member Variables:
| hzArray<hzString> | m_Array | No description | |
| hzTcpClient | m_ConnControl | No description | |
| hzString | m_LocalDir | No description | |
| hzString | m_Password | No description | |
| hzString | m_Server | No description | |
| hzString | m_ServerDir | No description | |
| hzVect<hzFtpClient::_ftpline> | m_Stack | No description | |
| hzIpaddr | m_SvrAddr | No description | |
| hzString | m_Username | No description | |
| bool | m_bDebug | No description | |
| bool | m_bInit | No description | |
| char* | m_c_rbuf | No description | |
| char* | m_c_sbuf | No description | |
| unsigned int | m_nDataPort | No description | |
| unsigned int | m_nRescode | No description | |
| unsigned int | m_nTries | No description | |
| char* | m_x_rbuf | No description | |
| char* | m_x_sbuf | No description |