lftp = 2.6.6 problem

2003-08-14 Thread Justin Piszcz
set cmd:ls-default -a
set cmd:ls-default ls -la

--- LIST test293
--- 150 Opening BINARY mode data connection for directory listing.
 Closing data socket
total 0
lftp [EMAIL PROTECTED]:/REQ

ls -la test293
--- LIST -la test293
--- 150 Opening BINARY mode data connection for directory listing.
 Closing data socket
total 17
drwxrwxrwx   2 root   root  1 Aug 10 00:47 .
drwxrwxrwx  10 root   root  0 Aug 10 00:44 ..
-rw-r--r--   1 root   root  3 Aug 10 00:47 .dotfile


How exactly does this work?




Re: lftp = 2.6.6 problem

2003-08-11 Thread Glenn Maynard
On Sat, Aug 09, 2003 at 12:50:26PM -0400, Justin Piszcz wrote:
 set cmd:ls-default -a
 set cmd:ls-default ls -la

 How exactly does this work?

If you don't supply any arguments to ls, it'll be used.

lftp 0:~ de 9
lftp 0:~ set cmd:ls-default -a
lftp 0:/ hostls
--- LIST -a
lftp 0:/ hostls -l
--- LIST -l

I'd recommend using cls instead, unless streaming is very important to you.

If you want to specify options to put on the LIST command for cls,
use ftp:list-options.

-- 
Glenn Maynard