The FtpItem type exposes the following members.

Constructors

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetCreationTime
Gets the creation time of the item.
(Overrides FileSystemItem..::..GetCreationTime()()()().)
Public methodGetHashCode
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.)
Protected methodGetLastAccessTime
Gets the last access time of the item.
(Overrides FileSystemItem..::..GetLastAccessTime()()()().)
Protected methodGetLastWriteTime
Gets the last modification time of the item.
(Overrides FileSystemItem..::..GetLastWriteTime()()()().)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberParse(String)
Creates a new instance of the FtpItem class and initializes it with file info from a raw FTP list line.
Public methodStatic memberParse(String, FtpListingType)
Creates a new instance of the FtpItem class and initializes it with file info from a raw FTP list line.
Public methodToString
Returns the name of the item.
(Overrides Object..::..ToString()()()().)

Properties

  NameDescription
Public propertyCreationTime
Gets the creation time of the item.
Public propertyGroup
Group identifier (Unix only). If null, the value was never assigned or successfully parsed.
Public propertyIsDirectory
Gets the flag indicating whether the item might be a directory.
(Overrides FileSystemItem..::..IsDirectory.)
Public propertyIsFile
Gets the flag indicating whether the item might be a file.
(Overrides FileSystemItem..::..IsFile.)
Public propertyIsLink
Gets a value indicating whether the item is a link.
(Overrides FileSystemItem..::..IsLink.)
Public propertyIsSymlink Obsolete.
Public propertyLastAccessTime
Public propertyLastWriteTime
Gets the last modification time of the item.
Public propertyLength
Gets the file length.
(Overrides FileSystemItem..::..Length.)
Public propertyModified
Public propertyName
Gets the name of the file or directory.
(Overrides FileSystemItem..::..Name.)
Public propertyOwner
The owner of the file. If null, the value was never assigned or successfully parsed.
Public propertyPath
Gets the path of the file or directory. It can be relative or absolute path depending on the way of use.
(Overrides FileSystemItem..::..Path.)
Public propertyPermissions
The attributes (permissions) of the file. If null, the value was never assigned or successfully parsed.
Public propertySize Obsolete.
Public propertySymlinkPath
Gets the path this item points to if it is symlink, null otherwise.
Public propertyType
Gets the type of the item.

Events

  NameDescription
Public eventStatic memberItemParse
Occurs when an item is being parsed.

See Also