Xceed .NET Libraries Documentation
Xceed.Ftp Assembly / Xceed.Ftp Namespace / FtpDosListingParser Class / ParseLine Method
The listing line received from the FTP server.
Example


In This Topic
    ParseLine Method (FtpDosListingParser)
    In This Topic
    Parses the specified listing line received from the FTP server.
    NULL
    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 NULL 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.

    Example
    NULL
    Example
    NULL
    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Standard: netstandard2.0, netstandard2.1

    .NET Framework: net20, net35, net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also