[lftp] lftp upload file from stdin not working with sftp

2014-11-28 Thread Jan Schmidle
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 lft

Re: [lftp] lftp upload file from stdin not working with sftp

2014-12-02 Thread Jan Schmidle
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 wrote: > hello list > > I try to upload a file to my backup server via sftp. Because I pipe it >