>> Using lftp version 3.7.6 in Cygwin (the version that's part of the >> Cygwin distro), when I do an 'ls -ltr' I get a message stating t and r >> are invalid options. I tried doing just an 'ls -t' and got the same >> invalid option message. What's interesting is that 't' and 'r' are >> supported by 'ls' as part of the Cygwin shell (I'm using bash), and >> doing an 'ls -l' works as expected. Anybody have any idea what could >> be causing the problem? I've checked 'cmd:ls-default' and it's not >> currently set to anything. > > Probably you are not using ftp protocol, or the ftp server does not support > these options. > > Try `cls' command.
Correct, I'm using sftp. Using ftp, I can execute 'ls -ltr' as expected. Why is the 'ls -ltr' command limited to ftp? When I do an sftp connection using 'sftp', I can do an 'ls -ltr' and it behaves as expected. Thank you, Chris -- Chris Sutcliffe http://emergedesktop.org
