Back to product page

ListParams property


Holds additional parameters for LIST command.

Type

A String value. Arguments that will be sent with LIST command.

Syntax

  • Basic
object.ListParams
The ListParams(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodFtpDLX.
valueA String value.

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 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.

If server supports MLSD extension, wodFtpDLX will silently set value of this property to "" (empty string) since MLSD command expects no arguments. If you want to force it, make sure you set it manually prior to calling ListDir method.

Platforms

Windows