Hello Alexander, OK, thanks for the explanation.
Kind regards, -- i. A. Andreas Luik in - innovative navigation GmbH -----Original message----- From:Alexander V. Lukyanov <l...@netis.ru> Sent:Mon 24-11-2014 14:40 Subject:Re: [lftp] lftp minor bug: pwd might print wrong cwp when used as first command To:Andreas Luik <andreas.l...@innovative-navigation.de>; CC:lftp@uniyar.ac.ru; Steven Schmidt <steven.schm...@innovative-navigation.de>; 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