I downloaded the pre3.0.0-20040128 version but it does not work in sftp mode. A simple put failed where the sftp works. Is there any parameter that needs to be adjusted?
TIA. log below: ~> lftp --version Lftp | Version pre3.0.0-20040128 | Copyright (c) 1996-2002 Alexander V. Lukyanov This is free software with ABSOLUTELY NO WARRANTY. See COPYING for details. Send bug reports and questions to <[EMAIL PROTECTED]>. ~> lftp sftp://[EMAIL PROTECTED] Password: lftp [EMAIL PROTECTED]:~> ls drwx------ 5 cnsar cnsar 4096 Feb 4 01:33 . drwxr-xr-x 17 root root 4096 Feb 2 17:27 .. -rw------- 1 cnsar cnsar 54 Feb 4 01:33 .Xauthority -rw-r--r-- 1 cnsar cnsar 24 Feb 2 17:27 .bash_logout -rw-r--r-- 1 cnsar cnsar 191 Feb 2 17:27 .bash_profile -rw-r--r-- 1 cnsar cnsar 124 Feb 2 17:27 .bashrc -rw-rw-r-- 1 cnsar cnsar 95 Feb 2 17:29 .cshrc.tmp -rw-r--r-- 1 cnsar cnsar 854 Feb 2 17:27 .emacs -rw-r--r-- 1 cnsar cnsar 118 Feb 2 17:27 .gtkrc drwxr-xr-x 3 cnsar cnsar 4096 Feb 2 17:27 .kde lrwxrwxrwx 1 cnsar cnsar 36 Feb 2 17:29 .less drwxrwxr-x 2 cnsar cnsar 4096 Feb 2 17:29 .vim lrwxrwxrwx 1 cnsar cnsar 37 Feb 2 17:29 .vimrc lrwxrwxrwx 1 cnsar cnsar 38 Feb 2 17:29 .zshenv lrwxrwxrwx 1 cnsar cnsar 37 Feb 2 17:29 .zshrc -rw-rw-r-- 1 cnsar cnsar 0 Feb 4 01:33 foo drwxrwxr-x 3 cnsar cnsar 4096 Feb 2 17:29 pkg lftp [EMAIL PROTECTED]:~> put screenlog.4 put: Access failed: Permission denied (screenlog.4) lftp [EMAIL PROTECTED]:~> debug lftp [EMAIL PROTECTED]:~> put screenlog.4 ---> sending a packet, length=29, type=3(OPEN), id=9 <--- got a packet, length=34, type=101(STATUS), id=9 put: Access failed: Permission denied (screenlog.4) lftp [EMAIL PROTECTED]:~> quit ---- Disconnecting ~> sftp [EMAIL PROTECTED] Connecting to 10.100.103.50... [EMAIL PROTECTED]'s password: sftp> put screenlog.4 Uploading screenlog.4 to /usr/cnsar/screenlog.4 sftp> exit ~>
