#include <ftpd.h>
Public Member Functions | |
| tcFtpdConfig (void) | |
| ~tcFtpdConfig (void) | |
Public Attributes | |
| char * | mpRootDir |
| Root directory for FTP. | |
| char * | mpUsername |
| Username. | |
| char * | mpPassword |
| Password. | |
| int | mnServerPriority |
| Priority of the server thread. | |
| int | mnClientPriority |
| Priority of the client thread(s) | |
| int | mnMaxClients |
| Maximum simultaneous client to allow. | |
| unsigned short | mnFtpPort |
| Port number for server. | |
| unsigned short | mnFtpDataPort |
| Port number for clients. | |
| bool | mbShowFreeSpace |
| True to calculate free space on dir listing. | |
Static Public Attributes | |
| static const char * | gpROOT_DIR = "C:" |
| static const char * | gpUSERNAME = "anonymous" |
| static const char * | gpPASSWORD = "" |
| static const int | gnDFLT_FTP_PORT = 21 |
| static const int | gnDFLT_DATA_PORT = 20 |
The tcFtpdConfig class provides a simple configuration structure that is used to initialize the tcFtpd interface class.
|
inline |
|
inline |
|
static |
|
static |
|
static |
|
static |
|
static |
| char* tcFtpdConfig::mpRootDir |
Root directory for FTP.
| char* tcFtpdConfig::mpUsername |
Username.
| char* tcFtpdConfig::mpPassword |
Password.
| int tcFtpdConfig::mnServerPriority |
Priority of the server thread.
| int tcFtpdConfig::mnClientPriority |
Priority of the client thread(s)
| int tcFtpdConfig::mnMaxClients |
Maximum simultaneous client to allow.
| unsigned short tcFtpdConfig::mnFtpPort |
Port number for server.
| unsigned short tcFtpdConfig::mnFtpDataPort |
Port number for clients.
| bool tcFtpdConfig::mbShowFreeSpace |
True to calculate free space on dir listing.