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:

hzEcodeFileDelete(const hzString& SvrFilename)
hzEcodeFileDownload(hzDirent& finfo)** Rename the file to the target name, set mtime of the local file to match that of the server
hzEcodeFileRename(const hzString& oldsvrname, const hzString& newsvrname)** The RNFR was OK so now send the RNTO
hzEcodeFileUpload(const hzString& SvrFilename, const hzString& LocFilename)
hzEcodeGetDirList(hzVect<hzDirent>& listing, const hzString& Criteria)
hzEcodeGetServerDir(void)** Check respons is valid
hzEcodeInitialize(const hzString& server, const hzString& username, const hzString& password)
hzEcodeQuitSession(void)
hzEcodeRemoteDirCreate(const hzString& dir)
hzEcodeRemoteDirDelete(const hzString& SvrDirname)
voidSetDebug(bool bDebug)
hzEcodeSetLocalDir(const hzString& dir)
hzEcodeSetRemoteDir(const hzString& dir)** Check respons is valid
hzEcodeStartSession(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_ArrayNo description
hzTcpClientm_ConnControlNo description
hzStringm_LocalDirNo description
hzStringm_PasswordNo description
hzStringm_ServerNo description
hzStringm_ServerDirNo description
hzVect<hzFtpClient::_ftpline>m_StackNo description
hzIpaddrm_SvrAddrNo description
hzStringm_UsernameNo description
boolm_bDebugNo description
boolm_bInitNo description
char*m_c_rbufNo description
char*m_c_sbufNo description
unsigned intm_nDataPortNo description
unsigned intm_nRescodeNo description
unsigned intm_nTriesNo description
char*m_x_rbufNo description
char*m_x_sbufNo description