lftp upload file from stdin not working with sftp
Jan Schmidle <[email protected]> Fri, 28 Nov 2014 06:16:03 -0800
| Newsgroups | gmane.network.lftp.user |
|---|---|
| Message-ID | <[email protected]> |
hello list I try to upload a file to my backup server via sftp. Because I pipe it through gpg I use the 'put /dev/stdin -o filename' approach but this seems to be broken with sftp or am I missing something? #> echo test | /usr/bin/lftp sftp://user:[email protected] -c 'put /dev/stdin -o lftp_test_stream.txt;' '/dev/stdin' at 0 (0%) [Sending data] the command stalls at that point and nothing else happens. Any idea? LFTP is Version 4.3.6 _______________________________________________ lftp mailing list [email protected] http://univ.uniyar.ac.ru/mailman/listinfo/lftp