FtpDataConnection Members

Mentalis.org Proxy

Mentalis.org Proxy Documentation

FtpDataConnection Members

Public Instance Constructors

FtpDataConnection Constructor Initializes a new instance of the FtpDataConnection class.

Public Instance Methods

Dispose (inherited from Client)Disposes of the resources (other than memory) used by the Client.
Equals (inherited from Object)Select the method name to go to the Microsoft documentation.
GetHashCode (inherited from Object)Select the method name to go to the Microsoft documentation.
GetType (inherited from Object)Select the method name to go to the Microsoft documentation.
ProcessPasvCalled when the proxy server processes a PASV command.
ProcessPortInitializes a new instance of the FtpDataConnection class.
StartHandshakeStarts relaying data between the remote FTP server and the local FTP client.
StartRelay (inherited from Client)Starts relaying data between the remote host and the local client.
ToString (inherited from Client)Returns text information about this Client object.

Protected Instance Properties

Buffer (inherited from Client)Gets the buffer to store all the incoming data from the local client.
RemoteBuffer (inherited from Client)Gets the buffer to store all the incoming data from the remote host.

Protected Instance Methods

Finalize (inherited from Object)Select the method name to go to the Microsoft documentation.
MemberwiseClone (inherited from Object)Select the method name to go to the Microsoft documentation.
OnClientReceive (inherited from Client)Called when we have received data from the local client.
Incoming data will immediately be forwarded to the remote host.
OnClientSent (inherited from Client)Called when we have sent data to the local client.
When all the data has been sent, we will start receiving again from the remote host.
OnRemoteReceive (inherited from Client)Called when we have received data from the remote host.
Incoming data will immediately be forwarded to the local client.
OnRemoteSent (inherited from Client)Called when we have sent data to the remote host.
When all the data has been sent, we will start receiving again from the local client.

Internal Instance Properties

ExpectsReplyGets or sets a boolean value that indicates whether the FtpDataConnection expects a reply from the remote FTP server or not.

Internal Instance Methods

ProcessPasvReplyRecvCalled when the FtpClient receives a reply on the PASV command from the server.

Private Instance Fields

m_ExpectsReplyHolds the value of the ExpectsReply property.
m_FtpReplyHolds the value of the FtpReply property.
m_ListenSocketHolds the value of the ListenSocket property.
m_ParentHolds the value of the Parent property.

Private Instance Properties

FtpReplyGets or sets a string that stores the reply that has been sent from the remote FTP server.
ListenSocketGets or sets the Socket that's used to listen for incoming connections.
ParentGets or sets the parent of this FtpDataConnection.

Private Instance Methods

OnPasvAcceptCalled when there's a connection from the local FTP client waiting to be accepted.
OnPasvConnectedCalled when we're connected to the data port of the remote FTP server.
OnPortAcceptCalled when there's a connection from the remote FTP server waiting to be accepted.
OnPortConnectedCalled when we're connected to the data port on the local FTP client.
ParsePasvIPParses a PASV reply into an instance of the IPEndPoint class.
ProcessPasvReplyProcesses a PASV reply from the server.

See Also

FtpDataConnection Class | Org.Mentalis.Proxy.Ftp Namespace