![]() 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. |
FtpClient Constructor
|
Initializes a new instance of the FtpClient class. |
CommandReceiveTimeout | Gets or sets the number of milliseconds to wait for the command response from the server. |
CommandSendTimeout | Gets or sets the number of milliseconds to wait for the command request to be sent to the server. |
Connected | Gets the command connection status. |
DataConnectionType | Gets or sets the data connection type. |
DataReceiveTimeout | Gets or sets the number of milliseconds to wait for the command response from the server. |
DataSendTimeout | Gets or sets the number of milliseconds to wait for the data request to be sent to the server. |
FtpCommandConnection | Gets the FtpCommandConnection object that represents the FTP command connection. |
MultiFile | Gets the MultiFile object that provides multiple file related functionality including deleting a non-empty directory. |
ProxySettings | Gets or sets the proxy settings. |
RemoteDirectory | Gets the RemoteDirectory object that provides remote directory related functionality including directory listing and changing etc. |
RemoteFile | Gets the RemoteFile object that provides remote file related functionality including file upload and download etc. |
SynchronizingObject | Gets or sets the synchonizing object for receiving events. |
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. |
AbortCompleted | Occurs when the abort has completed. |
CommandTraced | Occurs when a command is being sent or a command reply has been received. This event may be used to trace commands and replies. |
ConnectCompleted | Occurs when the connect has completed. |
GetRemoteStatusCompleted | Occurs when the get remote status has completed. |
GetRemoteSystemInfoCompleted | Occurs when the get remote system info has completed. |
QuoteCommandCompleted | Occurs when the quote command has completed. |
SiteCommandCompleted | Occurs when the site command has completed. |
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. |