FtpClient Methods

Mentalis.org Proxy

Mentalis.org Proxy Documentation

FtpClient Methods

The methods of the FtpClient class are listed below. For a complete list of FtpClient class members, see the FtpClient Members topic.

Internal Static (Shared) Methods

IsValidCommandChecks whether a specified command is a complete FTP command or not.
IsValidReplyChecks whether a specified reply is a complete FTP reply or not.

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.
StartHandshakeSends a welcome message to the client.
StartRelay (inherited from Client)Starts relaying data between the remote host and the local client.
ToStringReturns text information about this FtpClient object.

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 Methods

SendCommandSends a string to the local FTP client.

Private Instance Methods

ConnectToConnects to the specified endpoint.
OnCommandSentCalled when an FTP command has been successfully sent to the FTP server.
OnHelloSentCalled when the welcome message has been sent to the client.
OnIgnoreReplyCalled when we receive a reply from the FTP server that should be ignored.
OnReceiveCommandCalled when we have received some bytes from the client.
OnRemoteConnectedCalled when we're connected to the remote FTP server.
OnReplyReceivedCalled when we receive a reply from the FTP server.
OnReplySentCalled when the reply from the FTP server has been sent to the local FTP client.
ParseIPPortParses an IP address and port from a specified input string.
ProcessCommandProcesses an FTP command, sent from the client.
ProcessPortCommandProcesses a PORT command, sent from the client.

See Also

FtpClient Class | Org.Mentalis.Proxy.Ftp Namespace