Is there a reason lftp does not automatically cd to the home directory
when using sftp, but does so with ftp?



$ lftp -c " set cmd:at-exit; open 
sftp://user1:[EMAIL PROTECTED]/ ; pwd  ; " 2>&1 | grep -v
packet
sftp://user1:[EMAIL PROTECTED]/
$

$ lftp -c " set cmd:at-exit; open 
ftp://user1:[EMAIL PROTECTED]/ ; pwd  ; " 2>&1 | grep -v
packet
ftp://user1:[EMAIL PROTECTED]/%2Fhome/user1
$

$lftp --version
Lftp | Version 3.0.6 | Copyright (c) 1996-2004 Alexander V. Lukyanov
This is free software with ABSOLUTELY NO WARRANTY. See COPYING for
details.
Send bug reports and questions to <[EMAIL PROTECTED]>.


Reply via email to