LumiSoft Net Help
FTP_Session Class
NamespacesLumiSoft.Net.FTP.ServerFTP_Session
FTP Session.
Declaration Syntax
C#Visual BasicVisual C++F#
public class FTP_Session : TCP_ServerSession
Public Class FTP_Session
	Inherits TCP_ServerSession
public ref class FTP_Session : public TCP_ServerSession
type FTP_Session =  
    class
        inherit TCP_ServerSession
    end
Members
All MembersConstructorsMethodsPropertiesEvents



IconMemberDescription
FTP_Session()()()()
Default constructor.

Appe
This event is raised when session needs to complete APPE(append to file) command.

Authenticate
This event is raised when session needs to authenticate session using USER/PASS FTP authentication.

AuthenticatedUserIdentity
Gets authenticated user identity or null if user has not authenticated.
(Overrides TCP_Session.AuthenticatedUserIdentity.)
Authentications
Gets supported SASL authentication methods collection.

BadCommands
Gets number of bad commands happened on POP3 session.

Cdup
This event is raised when session needs to complete CDUP(change directory up) command.

Certificate
Gets session certificate.
(Inherited from TCP_ServerSession.)
ConnectTime
Gets the time when session was connected.
(Inherited from TCP_ServerSession.)
CurrentDir
Gets or sets current working directory.

Cwd
This event is raised when session needs to complete CWD(change working directory) command.

Dele
This event is raised when session needs to complete DELE(delete file) command.

Disconnect()()()()
Disconnects session.
(Inherited from TCP_ServerSession.)
Disconnect(String)
Disconnects session.
(Inherited from TCP_ServerSession.)
Disonnected
This event is raised when session has disconnected and will be disposed soon.
(Inherited from TCP_ServerSession.)
Dispose()()()()
Cleans up any resources being used.
(Overrides TCP_ServerSession.Dispose()()()().)
Disposed
This event is raised when session has disposed.
(Inherited from TCP_ServerSession.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Error
This event is raised when TCP server session has unknown unhandled error.
(Inherited from TCP_ServerSession.)
Finalize()()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
GetDirListing
This event is raised when session needs to get directory listing.

GetFile
This event is raised when session needs to get specified file.

GetFileSize
This event is raised when session needs to get specified file size.

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
ID
Gets session ID.
(Inherited from TCP_ServerSession.)
IdleTimeout
This event is raised when session idle(no activity) timeout reached.
(Inherited from TCP_ServerSession.)
IsAuthenticated
Gets if this session is authenticated.
(Inherited from TCP_Session.)
IsConnected
Gets if session is connected.
(Inherited from TCP_ServerSession.)
IsDisposed
Gets if TCP server session is disposed.
(Inherited from TCP_ServerSession.)
IsSecureConnection
Gets if this session TCP connection is secure connection.
(Inherited from TCP_ServerSession.)
LastActivity
Gets the last time when data was sent or received.
(Inherited from TCP_ServerSession.)
LocalEndPoint
Gets session local IP end point.
(Inherited from TCP_ServerSession.)
LocalHostName
Gets local host name.
(Inherited from TCP_ServerSession.)
LogAddText(String)
Logs specified text.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Mkd
This event is raised when session needs to complete MKD(make directory) command.

OnError(Exception)
Is called when session has processing error.
(Overrides TCP_ServerSession.OnError(Exception).)
OnTimeout()()()()
This method is called when specified session times out.
(Overrides TCP_ServerSession.OnTimeout()()()().)
PassiveMode
Gets if sessions is in passive mode.

RemoteEndPoint
Gets session remote IP end point.
(Inherited from TCP_ServerSession.)
Rmd
This event is raised when session needs to complete RMD(remove directory) command.

Rnto
This event is raised when session needs to complete RNTO(rename file/directory to) command.

Server
Gets session owner FTP server.

Start()()()()
Starts session processing.
(Overrides TCP_ServerSession.Start()()()().)
Started
Is raised when session has started processing and needs to send 220 greeting or 500 error resposne to the connected client.

Stor
This event is raised when session needs to complete STOR(store file) command.

SwitchToSecure()()()()
Switches session to secure connection.
(Inherited from TCP_ServerSession.)
SwitchToSecureAsync(TCP_ServerSession..::..SwitchToSecureAsyncOP)
Starts switching connection to secure.
(Inherited from TCP_ServerSession.)
Tag
Gets or sets user data.
(Inherited from TCP_ServerSession.)
Tags
Gets user data items collection.
(Inherited from TCP_ServerSession.)
TcpStream
Gets TCP stream which must be used to send/receive data through this session.
(Inherited from TCP_ServerSession.)
ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Inheritance Hierarchy

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119