CFtpServer Methods  
 
Class Description
CFtpServer Constructor which initializes the current instance of the class.
~CFtpServer Destructor which releases resources allocated by the class.
Method Description
AddVirtualUser Add a new virtual user for the specified server.
AsyncNotify Enable or disable asynchronous notification of changes in server status.
AttachHandle Attach the specified server handle to this instance of the class.
AuthenticateClient Authenticate the client and assign access rights for the session.
ChangeClientDirectory Change the current working directory for the client session.
DeleteVirtualUser Delete a virtual user from the specified server.
DetachHandle Detach the server handle from the current instance of this class.
DisableCommand Disable a specific server command.
DisableTrace Disable the logging of network function calls.
DisconnectClient Disconnect the specific client session, closing the control channel and aborting any file transfer.
EnableClientAccess Enable or disable access rights for the specified client session.
EnableCommand Enable a specific server command.
EnableTrace Enable logging of network function calls to a file.
EnumClients Returns a list of active client connections established with the server.
GetActiveClient Return the client ID for the active client session associated with the current thread.
GetAddress Return the IP address for the server.
GetClientAccess Return the access rights that have been granted to the client session.
GetClientAddress Return the IP address of the specified client session.
GetClientCredentials Return the credentials for the specified client session.
GetClientDirectory Return the current working directory for a client session.
GetClientFileType Return the current file type used for transfers by the specified client.
GetClientHomeDirectory Return the home directory for an authenticated client session.
GetClientIdentity Return the identity of the specified client session.
GetClientIdleTime Return the idle timeout period for the specified client.
GetClientLocalPath Return the full local path for the specified virtual path.
GetClientServer Return the handle to the server that created the specified client session.
GetClientThreadId Returns the thread ID associated with the specified client session.
GetClientUserName Return the user name associated with the specified client session.
GetClientVirtualPath Return the virtual path for a local file on the server.
GetCommandFile Return the full path to the local file name or directory specified by the client.
GetCommandLine Return the complete command line issued by the client.
GetCommandName Return the name of the last command issued by the client.
GetCommandParam Return the value of the specified parameter for the command issued by the client.
GetCommandParamCount Return the number of parameters to the current command issued by the client.
GetCommandResult Return the result code and a description of the last command processed by the server.
GetCommandUsage Return the number of times a specific command has been issued by all clients.
GetDirectory Return the full path to the root directory assigned to the specified server.
GetHandle Return the server handle associated with the class instance.
GetIdentity Return the identity and version information for the specified server.
GetLastError Return information about the last server error that occurred.
GetLogFile Return the current log file format and full path for the file.
GetMemoryUsage Return the amount of memory allocated for the server and all client sessions.
GetName Return the host name assigned to the server or specified client session.
GetOptions Return the options specified for this instance of the server.
GetPriority Return the current priority assigned to the specified server.
GetProgramExitCode Return the exit code of the last program executed by the client.
GetProgramName Return the name of the last program executed by the client.
GetProgramOutput Return a copy of the standard output from the last program executed by the client.
GetProgramText Return a copy of the standard output from the last program in a string buffer.
GetRenamedFile Return the original name of a file being renamed by the client.
GetStackSize Return the initial size of the stack allocated for threads created by the server.
GetTransferInfo Return information about the current file transfer for the client session.
GetUuid Return the UUID assigned to the specified server.
IsActive Determine if the server has been started.
IsClientAnonymous Determine if the specified client has authenticated as an anonymous user.
IsClientAuthenticated Determine if the specified client session has been authenticated.
IsCommandEnabled Determine if the specified command is currently enabled or disabled.
IsInitialized Determine if the class has been successfully initialized.
IsListening Determine if the server is listening for client connections.
PreProcessEvent Filter server events before being processed by the default event handler.
RegisterProgram Register a program for use with the SITE EXEC command.
RenameServerLogFile Rename or delete the current log file being updated by the server.
Restart Restart the server, terminating all active client sessions.
Resume Resume accepting client connections on the specified server.
SendResponse Send a result code and optional message to the client in response to a command.
SetAddress Change the IP address that the server will use with passive data connections.
SetCertificate Set the name of the certificate to be used with secure connections.
SetClientAccess Change the access rights associated with the specified client session.
SetClientFileType Change the current file type used for transfers by the specified client.
SetClientIdentity Change the identity string associated with the specified client session.
SetClientIdleTime Change the idle timeout period for the specified client session.
SetCommandFile Change the name of the local file or directory that is the target of the current command.
SetDirectory Specify the local directory that will be used as the server root directory.
SetLastError Set the last error code for the specified server session.
SetLogFile Change the current log format, level of detail and file name.
SetIdentity Change the identity and version information for the specified server.
SetName Change the hostname assigned to the server or specified client session.
SetOptions Change the options specified for this instance of the server.
SetPriority Change the priority assigned to the specified server.
SetStackSize Change the initial size of the stack allocated for threads created by the server.
SetUuid Assign a UUID to be associated with this instance of the server.
Start Start the server and begin accepting client connections.
Stop Stop the server and terminate all active client connections.
Suspend Suspend accepting client connections on the specified server.
Throttle Limit the number of active client connections, connections per address and connection rate.