![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cFTPCfg.h>
Public Member Functions | |
cFTPCfgOpts () | |
~cFTPCfgOpts () | |
bool | LoadOptions (cFTPCfg &cfg) |
Public Attributes | |
cStringA | m_sName |
NAME - name of the FTP server. More... | |
NET_PORT_t | m_wPort |
PORT - port (if not 21) More... | |
TIMESYSD_t | m_dwCommandTimeout |
CONTROL_TIMEOUT = (in seconds) More... | |
cStringA | m_sGreet |
GREET - default greeting message if the account does not have one. More... | |
int | m_iMaxClients |
int | m_iMaxClientsPerIP |
NET_PORT_t | m_wPasvPort |
default = 20 ?, SOME SERVERS REFUSE PORT 20 as PASV!!! More... | |
cNetAddrName | m_ipPasv |
cStringF | m_sLogDir |
daily log file to this directory. Linux path. More... | |
DWORD | m_dwLogMask |
What stuff to log to file ? LOG_ATTR2_SYS_ERR mask. More... | |
DWORD | m_dwGUIShowFlags |
TZ_TYPE | m_nTZDisp |
TZ_LOCAL = local = -1, minutes. More... | |
Static Public Attributes | |
static const FILECHAR_t | k_Opts_Section [] = _FN("Options") |
Config Parameters for the FTP server.
GrayFTP::cFTPCfgOpts::cFTPCfgOpts | ( | ) |
GrayFTP::cFTPCfgOpts::~cFTPCfgOpts | ( | ) |
bool GrayFTP::cFTPCfgOpts::LoadOptions | ( | cFTPCfg & | cfg | ) |
|
static |
TIMESYSD_t GrayFTP::cFTPCfgOpts::m_dwCommandTimeout |
CONTROL_TIMEOUT = (in seconds)
internally in milli-seconds
DWORD GrayFTP::cFTPCfgOpts::m_dwGUIShowFlags |
DWORD GrayFTP::cFTPCfgOpts::m_dwLogMask |
What stuff to log to file ? LOG_ATTR2_SYS_ERR mask.
int GrayFTP::cFTPCfgOpts::m_iMaxClients |
int GrayFTP::cFTPCfgOpts::m_iMaxClientsPerIP |
cNetAddrName GrayFTP::cFTPCfgOpts::m_ipPasv |
TZ_TYPE GrayFTP::cFTPCfgOpts::m_nTZDisp |
TZ_LOCAL = local = -1, minutes.
cStringA GrayFTP::cFTPCfgOpts::m_sGreet |
GREET - default greeting message if the account does not have one.
cStringF GrayFTP::cFTPCfgOpts::m_sLogDir |
daily log file to this directory. Linux path.
cStringA GrayFTP::cFTPCfgOpts::m_sName |
NAME - name of the FTP server.
NET_PORT_t GrayFTP::cFTPCfgOpts::m_wPasvPort |
default = 20 ?, SOME SERVERS REFUSE PORT 20 as PASV!!!
NET_PORT_t GrayFTP::cFTPCfgOpts::m_wPort |
PORT - port (if not 21)