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
IsValidCommand | Checks whether a specified command is a complete FTP command or not. |
IsValidReply | Checks 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. |
StartHandshake | Sends a welcome message to the client. |
StartRelay (inherited from Client) | Starts relaying data between the remote host and the local client. |
ToString | Returns 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
SendCommand | Sends a string to the local FTP client. |
Private Instance Methods
ConnectTo | Connects to the specified endpoint. |
OnCommandSent | Called when an FTP command has been successfully sent to the FTP server. |
OnHelloSent | Called when the welcome message has been sent to the client. |
OnIgnoreReply | Called when we receive a reply from the FTP server that should be ignored. |
OnReceiveCommand | Called when we have received some bytes from the client. |
OnRemoteConnected | Called when we're connected to the remote FTP server. |
OnReplyReceived | Called when we receive a reply from the FTP server. |
OnReplySent | Called when the reply from the FTP server has been sent to the local FTP client. |
ParseIPPort | Parses an IP address and port from a specified input string. |
ProcessCommand | Processes an FTP command, sent from the client. |
ProcessPortCommand | Processes a PORT command, sent from the client. |