Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayFTP::cFTPCfgOpts Class Reference

#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")
 

Detailed Description

Config Parameters for the FTP server.

Constructor & Destructor Documentation

◆ cFTPCfgOpts()

GrayFTP::cFTPCfgOpts::cFTPCfgOpts ( )

◆ ~cFTPCfgOpts()

GrayFTP::cFTPCfgOpts::~cFTPCfgOpts ( )

Member Function Documentation

◆ LoadOptions()

bool GrayFTP::cFTPCfgOpts::LoadOptions ( cFTPCfg cfg)

Member Data Documentation

◆ k_Opts_Section

const FILECHAR_t GrayFTP::cFTPCfgOpts::k_Opts_Section = _FN("Options")
static

◆ m_dwCommandTimeout

TIMESYSD_t GrayFTP::cFTPCfgOpts::m_dwCommandTimeout

CONTROL_TIMEOUT = (in seconds)

internally in milli-seconds

◆ m_dwGUIShowFlags

DWORD GrayFTP::cFTPCfgOpts::m_dwGUIShowFlags

◆ m_dwLogMask

DWORD GrayFTP::cFTPCfgOpts::m_dwLogMask

What stuff to log to file ? LOG_ATTR2_SYS_ERR mask.

◆ m_iMaxClients

int GrayFTP::cFTPCfgOpts::m_iMaxClients

◆ m_iMaxClientsPerIP

int GrayFTP::cFTPCfgOpts::m_iMaxClientsPerIP

◆ m_ipPasv

cNetAddrName GrayFTP::cFTPCfgOpts::m_ipPasv

◆ m_nTZDisp

TZ_TYPE GrayFTP::cFTPCfgOpts::m_nTZDisp

TZ_LOCAL = local = -1, minutes.

◆ m_sGreet

cStringA GrayFTP::cFTPCfgOpts::m_sGreet

GREET - default greeting message if the account does not have one.

◆ m_sLogDir

cStringF GrayFTP::cFTPCfgOpts::m_sLogDir

daily log file to this directory. Linux path.

◆ m_sName

cStringA GrayFTP::cFTPCfgOpts::m_sName

NAME - name of the FTP server.

◆ m_wPasvPort

NET_PORT_t GrayFTP::cFTPCfgOpts::m_wPasvPort

default = 20 ?, SOME SERVERS REFUSE PORT 20 as PASV!!!

◆ m_wPort

NET_PORT_t GrayFTP::cFTPCfgOpts::m_wPort

PORT - port (if not 21)


The documentation for this class was generated from the following files: