Ftp
|
public class FtpDirectory : IFtpFile, IComparable, IComparable<IFtpFile>, IComparable<FtpDirectory>
The FtpDirectory type exposes the following members.
Name | Description | |
---|---|---|
CaseInsensitive | Gets or sets FTP case sensitivity of file and directory names. | |
Files | Gets files of directory. | |
FullPath | Full path of directory. | |
IsDirectory | Returns true for directory entries. | |
IsFile | Returns false for directory entries. | |
Name | Name of directory. | |
Parent | Gets parent directory of directory. | |
Permission | Gets or sets permission of directory. | |
Size | Gets or sets size of directory. | |
SubDirectories | Gets sub directories of directory. | |
Timestamp | Gets or sets timestamp of directory. |
Name | Description | |
---|---|---|
BeginGetFile(String) | Starts asynchronous remote file download from directory. | |
BeginGetFile(String, String) | Starts asynchronous remote file download from directory using alternate local filename. | |
BeginPutFile(String) | Starts asynchronous local file upload to directory. | |
BeginPutFile(String, String) | Starts asynchronous local file upload to directory using alternate name. | |
CompareTo | Compares directory or file to another. | |
CreateFile | Creates a new zero-length remote file in directory. | |
CreateFileStream | Creates a new data stream for remote file in directory. | |
Equals |
Determines if the two FtpDirectory objects are equal.
(Overrides ObjectEquals(Object)) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
FindFile | Finds matching file name in directory. | |
FindSubDirectory | Finds matching subdirectory name in directory. | |
GetFile(String) | Downloads remote file from directory. | |
GetFile(String, String) | Downloads remote file from directory using alternate local filename. | |
GetHashCode |
Generates hash code for this FtpDirectory.
(Overrides ObjectGetHashCode) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
PutFile(String) | Uploads local file to directory. | |
PutFile(String, String) | Uploads local file to directory using alternate name. | |
Refresh | Refreshes directory listing. | |
RemoveFile | Removes file from directory. | |
RemoveSubDir | Removes subdirectory from directory. | |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Name | Description | |
---|---|---|
DirectoryListLineScan | Raised when new directory line is scanned. | |
DirectoryScanException | Raised when there is an exception scanning a directory. |
Name | Description | |
---|---|---|
Equality(FtpDirectory, FtpDirectory) | Compares the two values for equality. | |
GreaterThan(FtpDirectory, FtpDirectory) | Returns true if left value is greater than right value. | |
GreaterThanOrEqual(FtpDirectory, FtpDirectory) | Returns true if left value is greater than or equal to right value. | |
Inequality(FtpDirectory, FtpDirectory) | Compares the two values for inequality. | |
LessThan(FtpDirectory, FtpDirectory) | Returns true if left value is less than right value. | |
LessThanOrEqual(FtpDirectory, FtpDirectory) | Returns true if left value is less or equal to than right value. |
Name | Description | |
---|---|---|
GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) | |
GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |