The FtpClient type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| ChangeDirectory |
Changes remote directory to the specified path.
If the parameter starts with / then absolute path is assumed,
otherwise relative to CurrentDirectory path is assumed.
| |
| ChangeDirectoryUp |
Changes remote directory one folder up.
If the current remote directory is the root this command has no effect.
| |
| Connect | Overloaded. | |
| CreateDirectory |
Creates remote directory
| |
| Delete |
Deletes remote file or folder.
| |
| DeleteDirectory |
Deletes remote directory
| |
| Disconnect |
Aborts any connection that is still running.
| |
| Download |
Download remote file or folder to a local destination.
If remoteSource is a folder, it is downloaded recursively.
| |
| DownloadDirectory |
Downloads remote directory.
| |
| Equals | (Inherited from Object.) | |
| FileExists |
Returns is there a remote file with the specified name.
| |
| FileSize |
Returns the size of a remote file in bytes, or -1 if the file does not exist
| |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetMode | ||
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IsDirectory |
Checks is given remote resource a directory
| |
| ListCurrentDirectory |
Returns array of FtpFileInfo objects contained in the current remote folder
| |
| ListCurrentDirectoryNames |
Lists file and directory names contained in current remote folder
| |
| ListDirectory |
Returns array of FtpFileInfo objects contained in the specified remote folder
| |
| ListDirectoryNames |
Lists file and directory names contained in remote folder
| |
| Main | ||
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Rename |
Renames remote file or folder
| |
| SetMode | ||
| ToString | (Inherited from Object.) | |
| Upload |
Uploads local file or folder to a remote FTP location.
If the source is a folder it is uploaded recursively.
| |
| UploadDirectory |
Uplolads local folder to a remote FTP location
|