Xceed .NET Libraries Documentation
ParseLine Method (FtpMachineListingParser)


Xceed.Ftp Assembly > Xceed.Ftp Namespace > FtpMachineListingParser Class : ParseLine Method
The listing line received from the FTP server. Can be a null reference (Nothing in Visual Basic).
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 FtpMachineListingParser
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. Can be a null reference (Nothing in Visual Basic).

Return Value

A reference to a FtpItemInfo object containing the information that was parsed from the listing line received from the FTP server. a null reference (Nothing in Visual Basic) if the listing has ended.
Exceptions
ExceptionDescription
If the 'Type' fact is not present in the listing line.
Remarks
This parser is not fault tolerant. Machine listing is documented and precise. Parsing MUST succeed. Any deviation of the standard (RFC 3659) is considered an error from the server.
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

FtpMachineListingParser Class
FtpMachineListingParser Members
Base Implementation in ParseLine

Specification

RFC 3659