Back to product page

DirFormat property


Defines directory format sent to the client.

Type

A DirFormats enumeration.

Syntax

  • Basic
object.DirFormat [= value]
The DirFormat(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodFTPD.
valueA DirFormats enumeration, as described in settings.

Remarks

DirFormat property defines format used for creating directory listings, which are sent to clients when they execute LIST command. Currently wodFTPServer supports UNIX-alike and Windows-alike formats, as shown here.

The settings for value are:
Constant Value Description
fmtUNIX 1 Dir listing format is UNIX alike.
fmtWindows2 Dir listing is Windows alike.

Platforms

Windows