The FtpItem type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FtpItem(String, Int64, FtpItemType) |
Initializes a new instance of the FtpItem class.
| |
FtpItem(String, String, Int64, FtpItemType) |
Initializes a new instance of the FtpItem class.
| |
FtpItem(String, Int64, FtpItemType, DateTime, String) |
Initializes a new instance of the FtpItem class.
| |
FtpItem(String, String, Int64, FtpItemType, DateTime, String) |
Initializes a new instance of the FtpItem class.
| |
FtpItem(String, Int64, FtpItemType, DateTime, String, Nullable<(Of <<'(FtpItemPermissions>)>>), String, String) |
Initializes a new instance of the FtpItem class.
| |
FtpItem(String, String, Int64, FtpItemType, DateTime, String, Nullable<(Of <<'(FtpItemPermissions>)>>), String, String) |
Initializes a new instance of the FtpItem class.
|
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (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.) | |
GetCreationTime |
Gets the creation time of the item.
(Overrides FileSystemItem..::..GetCreationTime()()()().) | |
GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
GetLastAccessTime |
Gets the last access time of the item.
(Overrides FileSystemItem..::..GetLastAccessTime()()()().) | |
GetLastWriteTime |
Gets the last modification time of the item.
(Overrides FileSystemItem..::..GetLastWriteTime()()()().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Parse(String) |
Creates a new instance of the FtpItem class and initializes it with file info from a raw FTP list line.
| |
Parse(String, FtpListingType) |
Creates a new instance of the FtpItem class and initializes it with file info from a raw FTP list line.
| |
ToString |
Returns the name of the item.
(Overrides Object..::..ToString()()()().) |
Properties
Name | Description | |
---|---|---|
CreationTime |
Gets the creation time of the item.
| |
Group |
Group identifier (Unix only).
If null, the value was never assigned or successfully parsed.
| |
IsDirectory |
Gets the flag indicating whether the item might be a directory.
(Overrides FileSystemItem..::..IsDirectory.) | |
IsFile |
Gets the flag indicating whether the item might be a file.
(Overrides FileSystemItem..::..IsFile.) | |
IsLink |
Gets a value indicating whether the item is a link.
(Overrides FileSystemItem..::..IsLink.) | |
IsSymlink | Obsolete. | |
LastAccessTime | ||
LastWriteTime |
Gets the last modification time of the item.
| |
Length |
Gets the file length.
(Overrides FileSystemItem..::..Length.) | |
Modified | ||
Name |
Gets the name of the file or directory.
(Overrides FileSystemItem..::..Name.) | |
Owner |
The owner of the file.
If null, the value was never assigned or successfully parsed.
| |
Path |
Gets the path of the file or directory.
It can be relative or absolute path depending on the way of use.
(Overrides FileSystemItem..::..Path.) | |
Permissions |
The attributes (permissions) of the file.
If null, the value was never assigned or successfully parsed.
| |
Size | Obsolete. | |
SymlinkPath |
Gets the path this item points to if it is symlink, null otherwise.
| |
Type |
Gets the type of the item.
|
Events
Name | Description | |
---|---|---|
ItemParse |
Occurs when an item is being parsed.
|