SocketTools .NET Edition

FtpClient.ParseList Property

Gets and sets a value that specifies if directory listings should be automatically parsed

[Visual Basic]
Public Property ParseList As Boolean
[C#]
public bool ParseList {get; set;}

Property Value

A boolean value which specifies if directory listings should be automatically parsed. If the value is true, then the class will attempt to parse directory listings returned by the server. If the value is false, raw directory listings will be returned to the client.

Remarks

The ParseList property is used to control how remote file lists are processed. If the property is set to false, file lists are not processed by the class library. The client application is responsible for reading through and parsing the list of files returned by the server. If the property is set to true, the control will parse the file list and generate an OnFileList event for each file in the list.

The class recognizes file listings in UNIX, MS-DOS, VMS, Windows and NetWare formats, and will attempt to automatically determine the format that is being returned by the server. If the server does not return file lists in one of these formats, the ParseList property should be set to false, and the application must parse the file listing itself.

See Also

FtpClient Class | SocketTools Namespace