Xceed FTP Library Documentation
ListParsingFlags property
XceedFtp control reference > Properties > ListParsingFlags property

Description

This property determines if the library should automatically parse the folder listing data it obtains from the FTP server, or if it should trigger the ParsingListLine event to allow your application to parse the data itself, or a combination of both.

This property can accept one or more of the possible values described below. To combine two values, bitwise-OR them together.

You must, at the very least, include either the flpAutomaticParsing or the flpManualParsing value, otherwise the library will not obtain parsed listing data and therefore will not return a folder listing.

If you discover an FTP server that provides a directory listing that the Xceed FTP Library cannot parse, please contact support@xceedsoft.com with details. When possible, we will update the library to add the new FTP server’s listing type to the library’s parser.

Data type

EXFListParsingFlags

Possible values
 

Values Meaning
flpAutomaticParsing  The library will attempt to parse the listing data itself. If the library cannot parse the listing, it will return an error unless you have combined flpAutomaticParsing with the flpManualParsing value, in which case the ParsingListLine event will be triggered to allow your application to parse the listing data.
flpManualParsing  The library will trigger the ParsingListLine event to allow your application to parse the listing data.
flpFilenameOnly  The library does not request a full listing from the FTP server, but only filenames.

Default value

flpAutomaticParsing

Declaration  

HRESULT ListParsingFlags( [out, retval] EXFListParsingFlags* peVal ); 

HRESULT ListParsingFlags( [in] EXFListParsingFlags eVal );