FtpListingItem
Overview
Represents a file or directory in an FtpListing.
Location
-
Reference:
- RemObjects.InternetPack.dll .NET, .NET Core 5.0, .NET Standard 2.0
- RemObjects.InternetPack.fx Island
- libRemObjects.InternetPack.fx Toffee
- Namespace: RemObjects.InternetPack.Ftp
constructor
constructor
FtpListingItem()
init()
Sub New()
constructor (String)
constructor(item: String)
FtpListingItem(String item)
init(_ item: String)
Sub New(item As String)
Parameters:
- item:
description override Toffee
func description() -> NSString
Directory virtual
True if the item represents a directory.
property Directory: Boolean read write;
Boolean Directory { get; set; }
var Directory: Boolean { get{} set{} }
Property Directory() As Boolean
FileDate virtual
Date the file was last modified.
property FileDate: DateTime read write;
DateTime FileDate { get; set; }
var FileDate: DateTime { get{} set{} }
Property FileDate() As DateTime
FileName virtual
Name of the file.
property FileName: String read write;
String FileName { get; set; }
var FileName: String { get{} set{} }
Property FileName() As String
FtpDateToString virtual
Static. Convert Ftp date to string.
class method FtpDateToString(date: DateTime): String
static String FtpDateToString(DateTime date)
static func FtpDateToString(_ date: DateTime) -> String
Shared Function FtpDateToString(date As DateTime) As String
Parameters:
- date:
Group virtual
Default value "group". The name of the group users for Unix system.
property Group: String read write;
String Group { get; set; }
var Group: String { get{} set{} }
Property Group() As String
GroupExec virtual
For Unix system.
property GroupExec: Boolean read write;
Boolean GroupExec { get; set; }
var GroupExec: Boolean { get{} set{} }
Property GroupExec() As Boolean
GroupRead virtual
For Unix system.
property GroupRead: Boolean read write;
Boolean GroupRead { get; set; }
var GroupRead: Boolean { get{} set{} }
Property GroupRead() As Boolean
GroupWrite virtual
For Unix system.
property GroupWrite: Boolean read write;
Boolean GroupWrite { get; set; }
var GroupWrite: Boolean { get{} set{} }
Property GroupWrite() As Boolean
ImageIndex virtual
0 for parent directory (".."), 1 for directory, 2 for file.
property ImageIndex: Int32 read;
Int32 ImageIndex { get; }
var ImageIndex: Int32 { get{} }
ReadOnly Property ImageIndex() As Int32
LeadZero virtual
Static. Adds leading zero to the specified string until specified string riched specified length.
class method LeadZero(value: String; length: Int32): String
static String LeadZero(String value, Int32 length)
static func LeadZero(_ value: String, _ length: Int32) -> String
Shared Function LeadZero(value As String, length As Int32) As String
Parameters:
- value:
- length:
OtherExec virtual
For Unix system.
property OtherExec: Boolean read write;
Boolean OtherExec { get; set; }
var OtherExec: Boolean { get{} set{} }
Property OtherExec() As Boolean
OtherRead virtual
For Unix system.
property OtherRead: Boolean read write;
Boolean OtherRead { get; set; }
var OtherRead: Boolean { get{} set{} }
Property OtherRead() As Boolean
OtherWrite virtual
For Unix system.
property OtherWrite: Boolean read write;
Boolean OtherWrite { get; set; }
var OtherWrite: Boolean { get{} set{} }
Property OtherWrite() As Boolean
Parse virtual
Parses specified string and fills out properties of item.
method Parse(item: String)
void Parse(String item)
func Parse(_ item: String)
Sub Parse(item As String)
Parameters:
- item:
Size virtual
Size (in bytes) of the file
property Size: Int64 read write;
Int64 Size { get; set; }
var Size: Int64 { get{} set{} }
Property Size() As Int64
class method StringToFtpDate(dateString: String; timeString: String): DateTime
static DateTime StringToFtpDate(String dateString, String timeString)
static func StringToFtpDate(_ dateString: String, _ timeString: String) -> DateTime
Shared Function StringToFtpDate(dateString As String, timeString As String) As DateTime
Parameters:
- dateString:
- timeString:
class method StringToFtpDate(monthName: String; day: String; yearOrTime: String): DateTime
static DateTime StringToFtpDate(String monthName, String day, String yearOrTime)
static func StringToFtpDate(_ monthName: String, _ day: String, _ yearOrTime: String) -> DateTime
Shared Function StringToFtpDate(monthName As String, day As String, yearOrTime As String) As DateTime
Parameters:
- monthName:
- day:
- yearOrTime:
Static. Convert specified parameters (string, date, time, month, day, year etc.) to the ftp date.
class method StringToFtpDate(value: String): DateTime
static DateTime StringToFtpDate(String value)
static func StringToFtpDate(_ value: String) -> DateTime
Shared Function StringToFtpDate(value As String) As DateTime
Parameters:
- value:
SubItemCount virtual
Default value 1. For Unix system.
property SubItemCount: Int32 read write;
Int32 SubItemCount { get; set; }
var SubItemCount: Int32 { get{} set{} }
Property SubItemCount() As Int32
ToString virtual
method ToString: PlatformString
PlatformString ToString()
func ToString() -> String
Function ToString() As PlatformString
User virtual
Default value "user". For Unix system.
property User: String read write;
String User { get; set; }
var User: String { get{} set{} }
Property User() As String
UserExec virtual
For Unix system.
property UserExec: Boolean read write;
Boolean UserExec { get; set; }
var UserExec: Boolean { get{} set{} }
Property UserExec() As Boolean
UserRead virtual
For Unix system.
property UserRead: Boolean read write;
Boolean UserRead { get; set; }
var UserRead: Boolean { get{} set{} }
Property UserRead() As Boolean
UserWrite virtual
For Unix system.
property UserWrite: Boolean read write;
Boolean UserWrite { get; set; }
var UserWrite: Boolean { get{} set{} }
Property UserWrite() As Boolean
Directory virtual
True if the item represents a directory.
property Directory: Boolean read write;
Boolean Directory { get; set; }
var Directory: Boolean { get{} set{} }
Property Directory() As Boolean
FileDate virtual
Date the file was last modified.
property FileDate: DateTime read write;
DateTime FileDate { get; set; }
var FileDate: DateTime { get{} set{} }
Property FileDate() As DateTime
FileName virtual
Name of the file.
property FileName: String read write;
String FileName { get; set; }
var FileName: String { get{} set{} }
Property FileName() As String
Group virtual
Default value "group". The name of the group users for Unix system.
property Group: String read write;
String Group { get; set; }
var Group: String { get{} set{} }
Property Group() As String
GroupExec virtual
For Unix system.
property GroupExec: Boolean read write;
Boolean GroupExec { get; set; }
var GroupExec: Boolean { get{} set{} }
Property GroupExec() As Boolean
GroupRead virtual
For Unix system.
property GroupRead: Boolean read write;
Boolean GroupRead { get; set; }
var GroupRead: Boolean { get{} set{} }
Property GroupRead() As Boolean
GroupWrite virtual
For Unix system.
property GroupWrite: Boolean read write;
Boolean GroupWrite { get; set; }
var GroupWrite: Boolean { get{} set{} }
Property GroupWrite() As Boolean
ImageIndex virtual
0 for parent directory (".."), 1 for directory, 2 for file.
property ImageIndex: Int32 read;
Int32 ImageIndex { get; }
var ImageIndex: Int32 { get{} }
ReadOnly Property ImageIndex() As Int32
OtherExec virtual
For Unix system.
property OtherExec: Boolean read write;
Boolean OtherExec { get; set; }
var OtherExec: Boolean { get{} set{} }
Property OtherExec() As Boolean
OtherRead virtual
For Unix system.
property OtherRead: Boolean read write;
Boolean OtherRead { get; set; }
var OtherRead: Boolean { get{} set{} }
Property OtherRead() As Boolean
OtherWrite virtual
For Unix system.
property OtherWrite: Boolean read write;
Boolean OtherWrite { get; set; }
var OtherWrite: Boolean { get{} set{} }
Property OtherWrite() As Boolean
Size virtual
Size (in bytes) of the file
property Size: Int64 read write;
Int64 Size { get; set; }
var Size: Int64 { get{} set{} }
Property Size() As Int64
SubItemCount virtual
Default value 1. For Unix system.
property SubItemCount: Int32 read write;
Int32 SubItemCount { get; set; }
var SubItemCount: Int32 { get{} set{} }
Property SubItemCount() As Int32
User virtual
Default value "user". For Unix system.
property User: String read write;
String User { get; set; }
var User: String { get{} set{} }
Property User() As String
UserExec virtual
For Unix system.
property UserExec: Boolean read write;
Boolean UserExec { get; set; }
var UserExec: Boolean { get{} set{} }
Property UserExec() As Boolean
UserRead virtual
For Unix system.
property UserRead: Boolean read write;
Boolean UserRead { get; set; }
var UserRead: Boolean { get{} set{} }
Property UserRead() As Boolean
UserWrite virtual
For Unix system.
property UserWrite: Boolean read write;
Boolean UserWrite { get; set; }
var UserWrite: Boolean { get{} set{} }
Property UserWrite() As Boolean
FtpDateToString virtual
Static. Convert Ftp date to string.
class method FtpDateToString(date: DateTime): String
static String FtpDateToString(DateTime date)
static func FtpDateToString(_ date: DateTime) -> String
Shared Function FtpDateToString(date As DateTime) As String
Parameters:
- date:
LeadZero virtual
Static. Adds leading zero to the specified string until specified string riched specified length.
class method LeadZero(value: String; length: Int32): String
static String LeadZero(String value, Int32 length)
static func LeadZero(_ value: String, _ length: Int32) -> String
Shared Function LeadZero(value As String, length As Int32) As String
Parameters:
- value:
- length:
class method StringToFtpDate(dateString: String; timeString: String): DateTime
static DateTime StringToFtpDate(String dateString, String timeString)
static func StringToFtpDate(_ dateString: String, _ timeString: String) -> DateTime
Shared Function StringToFtpDate(dateString As String, timeString As String) As DateTime
Parameters:
- dateString:
- timeString:
class method StringToFtpDate(monthName: String; day: String; yearOrTime: String): DateTime
static DateTime StringToFtpDate(String monthName, String day, String yearOrTime)
static func StringToFtpDate(_ monthName: String, _ day: String, _ yearOrTime: String) -> DateTime
Shared Function StringToFtpDate(monthName As String, day As String, yearOrTime As String) As DateTime
Parameters:
- monthName:
- day:
- yearOrTime:
Static. Convert specified parameters (string, date, time, month, day, year etc.) to the ftp date.
class method StringToFtpDate(value: String): DateTime
static DateTime StringToFtpDate(String value)
static func StringToFtpDate(_ value: String) -> DateTime
Shared Function StringToFtpDate(value As String) As DateTime
Parameters:
- value:
constructor
constructor
FtpListingItem()
init()
Sub New()
constructor (String)
constructor(item: String)
FtpListingItem(String item)
init(_ item: String)
Sub New(item As String)
Parameters:
- item:
description override Toffee
func description() -> NSString
Parse virtual
Parses specified string and fills out properties of item.
method Parse(item: String)
void Parse(String item)
func Parse(_ item: String)
Sub Parse(item As String)
Parameters:
- item:
ToString virtual
method ToString: PlatformString
PlatformString ToString()
func ToString() -> String
Function ToString() As PlatformString