Method | Description | |
---|---|---|
FTP_Session ( Socket clientSocket, |
Default constructor.
|
|
OnSessionTimeout ( ) : void |
Is called by server when session has timed out.
|
Method | Description | |
---|---|---|
APPE ( string argsText ) : void | ||
BeginRecieveCmd ( ) : void |
Starts recieveing command.
|
|
CDUP ( string argsText ) : void | ||
CWD ( string argsText ) : void | ||
DELE ( string argsText ) : void | ||
EndRecieveCmd ( SocketCallBackResult result, long count, |
Is called if command is recieved.
|
|
EndSession ( ) : void |
Ends session, closes socket.
|
|
GetAndNormailizePath ( string path ) : string | ||
GetDataConnection ( ) : Socket | ||
LIST ( string argsText ) : void | ||
MKD ( string argsText ) : void | ||
NLST ( string argsText ) : void | ||
NOOP ( ) : void | ||
OnError ( |
Is called when error occures.
|
|
OnSocketActivity ( object sender, |
Is called if there was some activity on socket, some data sended or received.
|
|
PASS ( string argsText ) : void | ||
PASV ( string argsText ) : void | ||
PORT ( string argsText ) : void | ||
PWD ( ) : void | ||
QUIT ( ) : void | ||
RETR ( string argsText ) : void | ||
RMD ( string argsText ) : void | ||
RNFR ( string argsText ) : void | ||
RNTO ( string argsText ) : void | ||
STOR ( string argsText ) : void | ||
SYST ( ) : void | ||
StartSession ( ) : void |
Starts session.
|
|
SwitchCommand ( string commandTxt ) : bool |
Parses and executes POP3 commmand.
|
|
TYPE ( string argsText ) : void | ||
USER ( string argsText ) : void |
public FTP_Session ( Socket clientSocket, |
||
clientSocket | Socket | Referance to socket. |
server | Referance to FTP server. | |
sessionID | string | Session ID which is assigned to this session. |
logWriter | Log writer. | |
return | System |