Re: lftp minor bug: pwd might print wrong cwp when used as first command
Andreas Luik <[email protected]> Mon, 24 Nov 2014 15:08:06 +0100
| Newsgroups | gmane.network.lftp.user |
|---|---|
| Message-ID | <zarafa.54733bc6.3ea5.2d3950bd59cbe47e@zarafa.innovative-navigation.de> |
Hello Alexander, OK, thanks for the explanation. Kind regards, -- i. A. Andreas Luik in - innovative navigation GmbH -----Original message----- From:Alexander V. Lukyanov <[email protected]> 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 <[email protected]>; CC:[email protected]; Steven Schmidt <[email protected]>; 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 [email protected]:~> pwd > ftp://ftptest:[email protected]/%2Fftptest And when the home directory location is known, it is displayed with %2F which means the root directory. -- Alexander. _______________________________________________ lftp mailing list [email protected] http://univ.uniyar.ac.ru/mailman/listinfo/lftp