class PFTPServer |
File Transfer Protocol server channel class
![]() | PFTPServer () declare a server socket |
![]() | ~PFTPServer () Delete the server, cleaning up passive sockets |
![]() | GetHelloString (const PString & user) const Get the string printed when a user logs in default value is a string giving the user name |
![]() | GetGoodbyeString (const PString & user) const return the string printed just before exiting |
![]() | GetSystemTypeString () const return the string to be returned by the SYST command |
![]() | GetAllowThirdPartyPort () const return the thirdPartyPort flag, allowing 3 host put and get |
![]() | SetAllowThirdPartyPort (BOOL state) Set the thirdPartyPort flag |
![]() | ProcessCommand () Process commands, dispatching to the appropriate virtual function. |
![]() | DispatchCommand ( PINDEX code, const PString & args ) Dispatching to the appropriate virtual function. |
![]() | CheckLoginRequired ( PINDEX cmd ) Check to see if the command requires the server to be logged in before it may be processed. |
![]() | AuthoriseUser ( const PString & user, const PString & password, BOOL & replied ) Validate the user name and password for access. |
![]() | OnUnknown ( const PCaselessString & command ) Handle an unknown command. |
![]() | OnError ( PINDEX errorCode, PINDEX cmdNum, const char* msg ) Handle an error in command. |
![]() | OnSyntaxError ( PINDEX cmdNum ) Called for syntax errors in commands. |
![]() | OnNotImplemented ( PINDEX cmdNum ) Called for unimplemented commands. |
![]() | OnCommandSuccessful ( PINDEX cmdNum ) Called for successful commands. |
![]() | SendToClient ( const PFilePath & filename ) Send the specified file to the client. |
![]() | OnOpen () Call back to verify open succeeded in an PInternetProtocol class |
Construction
Overrides from class PObject
Overrides from class PChannel
Channel establish functions
Information functions
Reading functions
Writing functions
Miscellaneous functions
Error functions
Run Time Type functions
I/O functions
Comparison functions
File Transfer Protocol server channel class
Default implementation returns TRUE for all strings.
Alphabetic index HTML hierarchy of classes or Java