I updated the lftp version now to 4.6.0. Same issue.

After some time the command stops and prints:
put: /dev/stdin: cannot seek on data source



On 28 Nov 2014, at 06:16, Jan Schmidle <j...@jschmidle.org> wrote:

> 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:p...@backupserver.de -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
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

Reply via email to