Defined in file: hzFtpClient.h

This is a class that is purely for mass downloads from an FTP host.

This class employes the private sub-class _hz_FtpDnhist as follows:-

_hz_FtpDnhist

Constructors/Detructors

hzFtpHost*hzFtpHost(void)
void~hzFtpHost(void)

Public Methods:

hzEcodeGetAll(void)Connect to FTP Server with username and password. Go to remote pre-determined directory and obtain listing according to given criteria. For each file in the listing, check if we do not already have the (complete) file from a previous run. If not, download it to the target directory and then record this action. Arguments: None
hzEcodeInit(hzString& host)hzString& user, hzString& pass, hzString& remDir, hzString& locDir, hzString& criteria, Initialize an FTP host or account. This means setting up all the parameters for connecting to an FTP server

Member Variables:

hzFtpHost::_hz_FtpDnhistdnhDownload history manager
hzStringm_CriteriaThe download criteria (none would mean all files)
hzStringm_HostFor FTP collections only
hzMapS<hzString,hzDirent>m_InventoryFiles already downloaded in the repository
hzSDatem_IssueIssue date (WHOLE publications only)
hzStringm_PasswordFtp password if applicable
hzStringm_ReposThe directory into which files are collected
hzStringm_SourceThe directory from which files are collected (on FTP server)
hzStringm_UsernameFtp username if applicable
boolm_bInitParameters supplied