FtpItem Constructor
Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9083)
FtpItem(String, Int64, FtpItemType)
Initializes a new instance of the FtpItem class.
Declaration
public FtpItem(string filename, long size, FtpItemType type)
Parameters
Type | Name | Description |
---|---|---|
String | filename | The name of the file or directory. |
Int64 | size | The size of the file. |
FtpItemType | type | The type of item. |
FtpItem(String, Int64, FtpItemType, DateTime, String)
Initializes a new instance of the FtpItem class.
Declaration
public FtpItem(string filename, long size, FtpItemType type, DateTime lastModified, string symlinkPath)
Parameters
Type | Name | Description |
---|---|---|
String | filename | The name of the file or directory. |
Int64 | size | The size of the file. |
FtpItemType | type | The type of item. |
DateTime | lastModified | The DateTime of last modification. |
String | symlinkPath | The path this item points to if it is symlink. |
FtpItem(String, Int64, FtpItemType, DateTime, String, Nullable<FtpItemPermissions>, String, String)
Initializes a new instance of the FtpItem class.
Declaration
public FtpItem(string filename, long size, FtpItemType type, DateTime lastModified, string symlinkPath, FtpItemPermissions? permissions, string owner, string group)
Parameters
Type | Name | Description |
---|---|---|
String | filename | The name of the file or directory. |
Int64 | size | The size of the file. |
FtpItemType | type | The type of item. |
DateTime | lastModified | The DateTime of last modification. |
String | symlinkPath | The path this item points to if it is symlink. |
Nullable<FtpItemPermissions> | permissions | The attributes (permissions) of the file. may be null to indicate unknown permissions. |
String | owner | The file owner. |
String | group | The file group. |
FtpItem(String, String, Int64, FtpItemType)
Initializes a new instance of the FtpItem class.
Declaration
public FtpItem(string path, string filename, long size, FtpItemType type)
Parameters
Type | Name | Description |
---|---|---|
String | path | The path of the file or directory. |
String | filename | The name of the file or directory. |
Int64 | size | The size of the file. |
FtpItemType | type | The type of item. |
FtpItem(String, String, Int64, FtpItemType, DateTime, String)
Initializes a new instance of the FtpItem class.
Declaration
public FtpItem(string path, string filename, long size, FtpItemType type, DateTime lastModified, string symlinkPath)
Parameters
Type | Name | Description |
---|---|---|
String | path | The path of the file or directory. |
String | filename | The name of the file or directory. |
Int64 | size | The size of the file. |
FtpItemType | type | The type of item. |
DateTime | lastModified | The DateTime of last modification. |
String | symlinkPath | The path this item points to if it is symlink. |
FtpItem(String, String, Int64, FtpItemType, DateTime, String, Nullable<FtpItemPermissions>, String, String)
Initializes a new instance of the FtpItem class.
Declaration
public FtpItem(string path, string filename, long size, FtpItemType type, DateTime lastModified, string symlinkPath, FtpItemPermissions? permissions, string owner, string group)
Parameters
Type | Name | Description |
---|---|---|
String | path | The path of the file or directory. |
String | filename | The name of the file or directory. |
Int64 | size | The size of the file. |
FtpItemType | type | The type of item. |
DateTime | lastModified | The DateTime of last modification. |
String | symlinkPath | The path this item points to if it is symlink. |
Nullable<FtpItemPermissions> | permissions | The attributes (permissions) of the file. may be null to indicate unknown permissions. |
String | owner | The file owner. |
String | group | The file group. |