#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.
| tcFtpdConfig::tcFtpdConfig | ( | void | ) | [inline] |
| tcFtpdConfig::~tcFtpdConfig | ( | void | ) | [inline] |
const char * tcFtpdConfig::gpROOT_DIR = "C:" [static] |
const char * tcFtpdConfig::gpUSERNAME = "anonymous" [static] |
const char * tcFtpdConfig::gpPASSWORD = "" [static] |
const int tcFtpdConfig::gnDFLT_FTP_PORT = 21 [static] |
const int tcFtpdConfig::gnDFLT_DATA_PORT = 20 [static] |
| char* tcFtpdConfig::mpRootDir |
Root directory for FTP.
| char* tcFtpdConfig::mpUsername |
Username.
| char* tcFtpdConfig::mpPassword |
Password.
Priority of the server thread.
Priority of the client thread(s).
Maximum simultaneous client to allow.
| unsigned short tcFtpdConfig::mnFtpPort |
Port number for server.
| unsigned short tcFtpdConfig::mnFtpDataPort |
Port number for clients.
True to calculate free space on dir listing.