namespace System.Net.FtpClient
{
///
/// Represents a file system object on the server
///
///
public interface IFtpListItem
{
///
/// Gets the type of file system object. This property can be
/// set however this functionality is intended to be done by
/// custom parsers.
///
FtpFileSystemObjectType Type { get; set; }
///
/// Gets the full path name to the object. This property can be
/// set however this functionality is intended to be done by
/// custom parsers.
///
string FullName { get; set; }
///
/// Gets the name of the object. This property can be
/// set however this functionality is intended to be done by
/// custom parsers.
///
string Name { get; set; }
///
/// Gets the target a symbolic link points to. This property can be
/// set however this functionality is intended to be done by
/// custom parsers.
///
string LinkTarget { get; set; }
///
/// Gets the object the LinkTarget points to. This property is null unless pass the
/// FtpListOption.DerefLink flag in which case GetListing() will try to resolve
/// the target itself.
///
FtpListItem LinkObject { get; set; }
///
/// Gets the last write time of the object. This property can be
/// set however this functionality is intended to be done by
/// custom parsers.
///
DateTime Modified { get; set; }
///
/// Gets the created date of the object. This property can be
/// set however this functionality is intended to be done by
/// custom parsers.
///
DateTime Created { get; set; }
///
/// Gets the size of the object. This property can be
/// set however this functionality is intended to be done by
/// custom parsers.
///
long Size { get; set; }
///
/// Gets special UNIX permissions such as Stiky, SUID and SGID. This property can be
/// set however this functionality is intended to be done by
/// custom parsers.
///
FtpSpecialPermissions SpecialPermissions { get; set; }
///
/// Gets the owner permissions. This property can be
/// set however this functionality is intended to be done by
/// custom parsers.
///
FtpPermission OwnerPermissions { get; set; }
///
/// Gets the group permissions. This property can be
/// set however this functionality is intended to be done by
/// custom parsers.
///
FtpPermission GroupPermissions { get; set; }
///
/// Gets the others permissions. This property can be
/// set however this functionality is intended to be done by
/// custom parsers.
///
FtpPermission OthersPermissions { get; set; }
///
/// Gets the input string that was parsed to generate the
/// values in this object. This property can be
/// set however this functionality is intended to be done by
/// custom parsers.
///
string Input { get; }
///
/// Returns a string representation of this object and its properties
///
/// A string value
string ToString();
}
}