Public bug reported:

Settings ftp:list-options -a, which is required for the mirror command
to include .hidden files,  disables other ls parameters.

#without list-options -a
lftp u...@server.com:~/test> ls
drwxrwxr-x    3 ftp      ftp          4096 Aug 24 17:59 test2
lftp u...@server.com:~/test> ls -a
drwxrwxr-x    3 ftp      ftp          4096 Aug 24 17:59 .
drwxrwxr-x    5 ftp      ftp          4096 Aug 24 17:59 ..
drwxrwxr-x    3 ftp      ftp          4096 Aug 24 17:59 test2
lftp u...@server.com:~/test> ls -l
drwxrwxr-x    3 ftp      ftp          4096 Aug 24 17:59 test2
lftp u...@server.com:~/test> ls -t
drwxrwxr-x    3 ftp      ftp          4096 Aug 24 17:59 test2
lftp u...@server.com:~/test> ls -r
drwxrwxr-x    3 ftp      ftp          4096 Aug 24 17:59 test2
lftp u...@server.com:~/test> ls -R
.:                                      
drwxrwxr-x    3 ftp      ftp          4096 Aug 24 17:59 test2

./test2:
drwxrwxr-x    2 ftp      ftp          4096 Aug 24 17:59 test3

./test2/test3:


#with list-options -a
lftp u...@server.com:~/test> set ftp:list-options -a
lftp u...@server.com:~/test> ls
drwxrwxr-x    3 ftp      ftp          4096 Aug 24 17:59 .
drwxrwxr-x    5 ftp      ftp          4096 Aug 24 17:59 ..
drwxrwxr-x    3 ftp      ftp          4096 Aug 24 17:59 test2
lftp u...@server.com:~/test> ls -a
lftp u...@server.com:~/test> ls -l
lftp u...@server.com:~/test> ls -t
lftp u...@server.com:~/test> ls -r
lftp u...@server.com:~/test> ls -R
lftp u...@server.com:~/test>               


The cls/recls commands do support most ls parameters and can be used as a 
workaround. -R (recursive) however is not supported by (re)cls.

If possible i would like to have ftp:list-options -a as a default option
and still have the ability to ls -R.

** Affects: lftp (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/833127

Title:
  ftp:list-options -a disables other ls parameters

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lftp/+bug/833127/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to