FtpItem.Parse Method
Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9083)
Parse(String)
Creates a new instance of the FtpItem class and initializes it with file info from a raw FTP list line.
Declaration
public static FtpItem Parse(string rawLine)
Parameters
Type | Name | Description |
---|---|---|
String | rawLine | A raw FTP list line. |
Returns
Type | Description |
---|---|
FtpItem | An instance of FtpItem or a null reference if unable to parse. |
Parse(String, FtpListingType)
Creates a new instance of the FtpItem class and initializes it with file info from a raw FTP list line.
Declaration
public static FtpItem Parse(string rawLine, FtpListingType listingType)
Parameters
Type | Name | Description |
---|---|---|
String | rawLine | A raw FTP list line. |
FtpListingType | listingType | Type of the listing. |
Returns
Type | Description |
---|---|
FtpItem | An instance of FtpItem or a null reference if unable to parse. |