Hello,

I know the NLST command and its options are a popular topic, and I seem
to recall this subject coming up on the list recently. I can't find
anything in the archives though, so apologies if this question has been
asked before.

Should NLST support a -rt to list files by reverse order? It does not
appear to on my build. My testing suggests that -a is the only option
supported by NLST.

The ListOptions directive page seems to suggest that it should support
options, while this bug suggests that 'sensible' options for NLST are
supported.
http://bugs.proftpd.org/show_bug.cgi?id=2322

I do not have any ListOptions in my configuration, so I don't think that
is the problem. Options to LIST work correctly. Does anyone else see
this behaviour, and is it expected, or a bug?

Here's an FTP session transcript illustrating the problem. The client
is the the Solaris 8 standard FTP client which translates 'ls' into
NLST.

ftp> ls
200 PORT command successful
150 Opening ASCII mode data connection for file list
test1
test2
test3
test4
test5
226 Transfer complete
35 bytes received in 0.12 seconds (0.29 Kbytes/s)
ftp> ls -t
200 PORT command successful
150 Opening ASCII mode data connection for file list
test1
test2
test3
test4
test5
226 Transfer complete
remote: -t
35 bytes received in 0.014 seconds (2.42 Kbytes/s)
ftp> ls -rt
200 PORT command successful
150 Opening ASCII mode data connection for file list
test1
test2
test3
test4
test5
226 Transfer complete
remote: -rt
35 bytes received in 0.11 seconds (0.30 Kbytes/s)
ftp> quit

Thanks,
Richard Gray
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice.




-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
ProFTPD Users List
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html