Back to product page

DirFormats enumeration


These constants define how will wodFTPServer format directory contents when they're sent to the client, as result of LIST request.

Remarks

fmtUNIX defines format like this:
 
-rw-r--r-- 1 root root 462848 Apr 5  2002 test1.dll
-rw-r--r-- 1 root root  12755 Feb 8  2006 test2.exe
-rw-r--r-- 1 root root 929792 Mar 13 2002 test3.txt
drw-r--r-- 1 root root      0 Jun 29 2001 test4
 

and fmtWindows defines format like this:
 
04-05-02 02:18PM 462848 test1.dll
02-08-06 06:02PM  12755 test2.exe
03-13-02 03:24AM 929792 test3.txt
06-29-01 05:38PM DIR    test4
 

Constant Value Description
fmtUNIX 1 Dir listing format is UNIX alike.
fmtWindows2 Dir listing is Windows alike.

Platforms

Windows