C# 클래스 LumiSoft.Net.FTP.Server.FTP_Session

FTP Session.
상속: LumiSoft.Net.SocketServerSession
파일 보기 프로젝트 열기: jeske/StepsDB-alpha 1 사용 예제들

공개 메소드들

메소드 설명
FTP_Session ( Socket clientSocket, FTP_Server server, string sessionID, SocketLogger logWriter ) : System

Default constructor.

OnSessionTimeout ( ) : void

Is called by server when session has timed out.

비공개 메소드들

메소드 설명
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, Exception exception, object tag ) : void

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 ( Exception x ) : void

Is called when error occures.

OnSocketActivity ( object sender, EventArgs e ) : void

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

메소드 상세

FTP_Session() 공개 메소드

Default constructor.
public FTP_Session ( Socket clientSocket, FTP_Server server, string sessionID, SocketLogger logWriter ) : System
clientSocket Socket Referance to socket.
server FTP_Server Referance to FTP server.
sessionID string Session ID which is assigned to this session.
logWriter LumiSoft.Net.SocketLogger Log writer.
리턴 System

OnSessionTimeout() 공개 메소드

Is called by server when session has timed out.
public OnSessionTimeout ( ) : void
리턴 void