On Fri, Nov 21, 2014 at 08:53:19PM +0100, Andreas Luik wrote:
>   we found a small bug in lftp (at least still present in 4.5.4):
> 
> when "pwd" is the first command used, it prints "/" (which is the
> 
> initial cached value), but this might be wrong when the ftp-user's
> 
> home directory is not the root directory (possibly chrooted).

I'd call it a feature. "/" in ftp URLs actually means "home directory".
At first, actual location of the home directory is not known.

> lftp ftpt...@ftp.innovative-navigation.de:~> pwd
> ftp://ftptest:test123$@ftp.innovative-navigation.de/%2Fftptest

And when the home directory location is known, it is displayed with
%2F which means the root directory.

-- 
   Alexander.
_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

Reply via email to