Re: using secure ftp with a pipe ?

From: Larry (surfunbear_at_yahoo.com)
Date: 06/24/04


Date: 24 Jun 2004 08:24:39 -0700

Hi,
These are binary files, would you use binary files with cat ?

My unix nutshell book mentiones end with EOF, so I'm thinking
it's text processing only.

David Magda <dmagda+trace040423@ee.ryerson.ca> wrote in message news:<861xk647qa.fsf@number6.magda.ca>...
> surfunbear@yahoo.com (Larry) writes:
>
> > Some people in our group are having problems using sftp with a
> > pipe. We used to do that with regular ftp I guess and have another
> > process read from the pipe as the transfer was large and there was
> > not allways enough disk space. I believe it was a file type
> > pipe. Any thoughts on this on how to make it work or would you
> > expect it to not work due to security etc ?
>
> Haven't tried it myself, but have you tried something along the lines
> of:
>
> $ cat source.txt | ssh user@remote "cat - > destination.txt"
>
> work?


Quantcast