The methods of the FtpClient class are listed below. For a complete list of FtpClient class members, see the FtpClient Members topic.
![]() Download | Download the remote file's contents to the local file. |
![]() Upload | Upload the local file's contents to the remote file. If destinationPathName is null then a unique name is generated on the remote server. |
Abort | Ask the server to abort the current command and any associated data transfer. |
BeginAbort | Overloaded. Initiates an asynchronous abort. |
BeginConnect | Overloaded. Initiates an asynchronous connect as an anonymous user. |
BeginGetRemoteStatus | Overloaded. Initiates an asynchronous get remote status. |
BeginGetRemoteSystemInfo | Overloaded. Initiates an asynchronous get remote system information. |
BeginSendQuoteCommand | Overloaded. Initiates an asynchronous quote command. |
BeginSendSiteCommand | Overloaded. Initiates an asynchronous site command. |
Connect | Overloaded. Connects to the server as an anonymous user. A user name of anonymous will be used and a nonexistent email address will be used for the password. |
Disconnect | Disconnects from the server. |
Dispose | Dispose of the FtpClient and the underlying socket objects. |
EndAbort | Completes the specified asynchronous abort operation. |
EndConnect | Completes the specified asynchronous connect operation. |
EndGetRemoteStatus | Completes the specified asynchronous get remote status operation. |
EndGetRemoteSystemInfo | Completes the specified asynchronous get remote system information operation. |
EndSendQuoteCommand | Completes the specified asynchronous quote command operation. |
EndSendSiteCommand | Completes the specified asynchronous site command operation. |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetRemoteStatus | Get the remote system's status. |
GetRemoteSystemInfo | Get the remote system's OS information. |
GetType (inherited from Object) | Gets the Type of the current instance. |
SendQuoteCommand | Execute an arbitrary command. The supplied command text is sent to the FTP server as is. |
SendSiteCommand | Execute the site command. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |