Class FtpListItem
- Namespace
- FluentFTP
- Assembly
- FluentFTP.dll
Represents a file system object on the server
public class FtpListItem
- Inheritance
-
FtpListItem
- Inherited Members
- Extension Methods
Constructors
FtpListItem()
Blank constructor, you will need to fill arguments manually.
NOTE TO USER : You should not need to construct this class manually except in advanced cases. Typically constructed by GetListing().
public FtpListItem()
FtpListItem(string, long, FtpObjectType, DateTime)
Constructor with mandatory arguments filled.
NOTE TO USER : You should not need to construct this class manually except in advanced cases. Typically constructed by GetListing().
public FtpListItem(string name, long size, FtpObjectType type, DateTime lastModifiedTime)
Parameters
name
stringsize
longtype
FtpObjectTypelastModifiedTime
DateTime
FtpListItem(string, string, long, bool, DateTime)
Constructor with mandatory arguments filled.
NOTE TO USER : You should not need to construct this class manually except in advanced cases. Typically constructed by GetListing().
public FtpListItem(string record, string name, long size, bool isDir, DateTime lastModifiedTime)
Parameters
Properties
Chmod
Gets the file permissions in the CHMOD format.
public int Chmod { get; set; }
Property Value
Created
Gets the created date of the object after timezone conversion (if enabled).
public DateTime Created { get; set; }
Property Value
FullName
Gets the full path name to the file or folder.
public string FullName { get; set; }
Property Value
GroupPermissions
Gets the group permissions.
public FtpPermission GroupPermissions { get; set; }
Property Value
Input
Gets the input string that was parsed to generate the values in this object.
public string Input { get; set; }
Property Value
LinkCount
Gets the number of links pointing to this file. Only supplied by Unix servers.
public int LinkCount { get; set; }
Property Value
LinkObject
Gets the object that the LinkTarget points to.
public FtpListItem LinkObject { get; set; }
Property Value
LinkTarget
Gets the target a symbolic link points to.
public string LinkTarget { get; set; }
Property Value
Modified
Gets the last write time of the object after timezone conversion (if enabled).
public DateTime Modified { get; set; }
Property Value
Name
Gets the name of the file or folder. Does not include the full path.
public string Name { get; set; }
Property Value
OthersPermissions
Gets the others permissions.
public FtpPermission OthersPermissions { get; set; }
Property Value
OwnerPermissions
Gets the owner permissions.
public FtpPermission OwnerPermissions { get; set; }
Property Value
RawCreated
Gets the created date of the object before any timezone conversion.
public DateTime RawCreated { get; set; }
Property Value
RawGroup
Gets the raw string received for the file's GROUP permissions. Use this if the other properties are blank/invalid.
public string RawGroup { get; set; }
Property Value
RawModified
Gets the last write time of the object before any timezone conversion.
public DateTime RawModified { get; set; }
Property Value
RawOwner
Gets the raw string received for the file's OWNER permissions. Use this if the other properties are blank/invalid.
public string RawOwner { get; set; }
Property Value
RawPermissions
Gets the raw string received for the file permissions. Use this if the other properties are blank/invalid.
public string RawPermissions { get; set; }
Property Value
Size
Gets the size of the object.
public long Size { get; set; }
Property Value
SpecialPermissions
Gets special UNIX permissions such as Sticky, SUID and SGID.
public FtpSpecialPermissions SpecialPermissions { get; set; }
Property Value
SubType
Gets the sub type of file system object.
public FtpObjectSubType SubType { get; set; }
Property Value
Type
Gets the type of file system object.
public FtpObjectType Type { get; set; }
Property Value
Methods
ToCode()
Returns a code representation of this object and its properties
public string ToCode()
Returns
ToString()
Returns a string representation of this object and its properties
public override string ToString()
Returns
- string
A string representing this object