The FtpFileInfo type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| FtpFileInfo |
Initializes an instance of this class.
|
Methods
| Name | Description | |
|---|---|---|
| CopyTo |
Copies this file's contents to the destination file.
The destination file will be overwritten if it already exists.
| |
| Delete |
Deletes a file.
| |
| 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.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | (Inherited from Object.) | |
| Write |
Writes data in the file. The data are written in a stream.
|
Properties
| Name | Description | |
|---|---|---|
| Exists |
Gets a value indicating whether the file exists or not.
| |
| FtpWebRequestFactory |
Gets the FTP Web Request Factory.
(Inherited from FtpInfoBase.) | |
| LastWriteTimeUtc |
Gets the date when the file was last written to.
| |
| Length |
Gets the length of the file in bytes.
| |
| Logger |
Gets the logging component.
(Inherited from FtpInfoBase.) | |
| Url |
Gets the remote FTP url of this file or directory.
(Inherited from FtpInfoBase.) |