On Thu, Jul 20, 2000 at 10:25:14PM +0200, Tomas Ogren wrote:
> lftp ftp.acc.umu.se:/pub/test> rels -la
> total 32
> drwxr-xr-x 2 root 512 Jul 20 22:20 .
> drwxr-xr-x 9 anon-ftp 512 Jul 20 22:20 ..
> -rw-r--r-- 1 root 0 Jul 20 22:20 foo1
> -rw-r--r-- 1 root 0 Jul 20 22:20 foo2
> lftp ftp.acc.umu.se:/pub/test> dir
> total 0
> -rw-r--r-- 1 root 0 Jul 20 22:20 foo1
> lftp ftp.acc.umu.se:/pub/test> ls -l
> total 0
> -rw-r--r-- 1 root 0 Jul 20 22:20 foo1
> -rw-r--r-- 1 root 0 Jul 20 22:20 foo2
>
> The "rels" should IMO update the cache for "dir" too..
I guess `dir' is an alias to ls with some options. Currently
lftp does not parse options for ls but passes them to ftp
server intact. This does not allow lftp to know if two different
sets of ls arguments refer to the same or different directories.
In short: this is a limitation that cannot be fixed without
parsing ls arguments.
--
Alexander.