The FtpClient type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| FtpClient | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| Dispose | Overloaded. | |
| Equals | (Inherited from Object.) | |
| 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.) | |
| GetFile |
Gets specified remote file and saves it in the current local directory
| |
| GetFileAs |
Gets specified remote file and saves it to a local file.
Then it can verify the size of the file on the remote server is the same as locally.
| |
| GetFileDate |
Gets the last modified date of a file on the remote server
| |
| GetFileSize |
Gets the file size of a file on the remote server
| |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| ListDirectory |
Fetch directory listing given a filter on remote server
| |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| MgetFiles |
Gets files which match a given pattern.
Then it can verify the size of the files on the remote server is the same as locally.
| |
| MputFiles |
Puts files which match a given pattern.
Then it can verify the size of the files on the remote server is the same as locally.
| |
| Open |
Initialize a connection to a ftp server
| |
| ProcessFileScript |
Process a file script
| |
| PutFile |
Puts a file on a ftp server
Then it can verify the size of the file on the remote server is the same as locally.
| |
| PutFileAs |
Puts a file on a ftp server
Then it can verify the size of the file on the remote server is the same as locally.
| |
| SetLocalDirectory |
Sets the current local directory
| |
| SetRemoteDirectory |
Sets the current directory on remote server
| |
| StartLogger |
"Starts" the logger for the ftp client
| |
| StopLogger |
"Stops" the logger for the ftp client
| |
| ToString | (Inherited from Object.) | |
| WriteFileList |
Write a file containing a directory listing
|
Properties
| Name | Description | |
|---|---|---|
| KeepConnectionAlive |
Keep the connection alive. False terminates the connection after request
| |
| LastException |
The last exception that has occured
| |
| MaxAttempts |
Max number of times to try and transfer a file
| |
| ServerRetryDelay |
Delay between retries in milliseconds
| |
| ServerTimeout |
Server command timeout in milliseconds
| |
| TransferBufferSize |
The size of the transfer buffer in bytes
| |
| UseBinary |
Use binary mode to transfer files true/false
| |
| UsePassiveConnection |
Use a passive ftp connection true/false
|