http://www.serv-u.com/Help/serv_u_help/additional_ftp_commands_supported_by_serv_u.htm
NLST, LIST
These are the two FTP commands that deal with directory listings, NLST stands for "Name LiST", LIST is "LIST directory". LIST by default returns a long format directory listing with all files and directories, NLST returns a list of file names only (no directories) unless the option "NLST also lists directories" is enabled. Normally they do not have options, or rather, the only option according to RFC959 is a directory path or file, which should be listed. Serv-U抯 version of the dir listing commands supports most of the UNIX 憀s?options, just like UNIX FTP servers do. These can be convenient for retrieving custom tailored directory listings. Supported options are:
-a = list all entries including those starting with '.'
-b = force printing of non-printable characters in octal
-c = use modification time for listing sorting
-d = if argument is a dir list only name, not contents
-e = list only files
-f = enable -a, -U, disable -l, -s
-i = print i-node number in first column
-k = use 1024 bytes for block size (default is 512 bytes)
-l = list in long format (default for LIST)
-m = stream output, list accross page separated by commas
-n = like -l, but use UID and GID numbers instead of names
-o = like -l, but without the group info
-p = put '/' after directory names
-q = print non-printable characters as '?'
-r = reverse sort order
-s = give size of each entry in blocks
-t = sort by modification time instead of name
-u = use time of last access for sorting
-w:NN = set line length to NN characters (default is 80)
-x = multi-column output with entries sorted accross
-A = list all entries, except for '.' and '..'
-B = ignore names ending on '~' for dir listing
-C = multi-column output with entries sorted down
-F = put '/' after dir names, '@' after links
-G = do not display group info
-I:"XX" = add pattern XX to the list of patterns to ignore
-L = if argument is a link, list file or dir it references
-N = force printing of non-printable characters
-Q = quote names as C-syntax strings
-R = recursively list sub directories
-S = sort by size (default is date)
-T = show extended date/time info for long format listings
-U = do not sort dir listing
-X = sort by extension of the name (default is date)
-1 = print one entry per line of output
Comments