Back to product page

ListParams property


Holds additional parameters for LIST command.

Type

String

Syntax

  • C#
  • VB.NET
String ListParams {get; set; };

Property ListParams As String

Remarks

ListParams property defines if any parameters are sent together with LIST command when ListDir method is called. By default, "-al" arguments are sent, but not all servers may like this. You can set this property to empty string to make wodFtpDLX.NET send only LIST command with no parameters when ListDir is called, or choose any other arguments you may need. You can make filtering for LIST command to list only certain files using this property, such as "*.exe" although this should not be used as general method for such filtering.

This property does not affect ListNames method which sends NLST command - NLST is always sent with no parameters.

Platforms

Windows