Xceed .NET Libraries Documentation
ParseLine Method (FtpDosListingParser)


Xceed.Ftp Assembly > Xceed.Ftp Namespace > FtpDosListingParser Class : ParseLine Method
The listing line received from the FTP server.
Parses the specified listing line received from the FTP server.
Syntax
'Declaration
 
Public Overrides Function ParseLine( _

   ByVal line As String _

) As FtpItemInfo
'Usage
 
Dim instance As FtpDosListingParser

Dim line As String

Dim value As FtpItemInfo

 

value = instance.ParseLine(line)
public override FtpItemInfo ParseLine( 

   string line

)

Parameters

line
The listing line received from the FTP server.

Return Value

A reference to an FtpItemInfo object containing the information that was parsed from the listing line received from the FTP server. Can be FtpItemInfo.Empty to indicate that the line was recognized but more information is required (for example, VMS listings are on 2 lines). Can be a null reference (Nothing in Visual Basic) to indicate that the listing line was not recognized as a valid Windows or DOS listing line.
Remarks

The Windows or DOS listing parser will try to parse the listing lines received from the FTP server. After 5 failed attempts, the Windows or DOS listing parser will be discarded by the FtpListingParserList.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

FtpDosListingParser Class
FtpDosListingParser Members
Base Implementation in ParseLine