Re: using secure ftp with a pipe ?

From: David Magda (dmagda+trace040423_at_ee.ryerson.ca)
Date: 06/23/04


Date: 23 Jun 2004 11:25:17 -0400

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?

-- 
David Magda <dmagda at ee.ryerson.ca>, http://www.magda.ca/
Because the innovator has for enemies all those who have done well under
the old conditions, and lukewarm defenders in those who may do well 
under the new. -- Niccolo Machiavelli, _The Prince_, Chapter VI


Relevant Pages

  • Re: I must have missed this class...
    ... I bought it for FAR FAR, less than I sold it for. ... I am into this pipe for ... >Larry,God has Blessed me to put me in a position that I don't need to sell ... you see I am a collector who has more BRAINS than MONEY. ...
    (alt.smokers.pipes)
  • Re: Im Sick and Tired
    ... Attaboy, Larry. ... pipe since '62, ASP's resident village idiot ... dumb me.I hate arrogance,and I hate ignorance.When you combine them it ...
    (alt.smokers.pipes)
  • Re: I must have missed this class...
    ... I bought it for FAR FAR, less than I sold it for. ... I am into this pipe for ... Larry,God has Blessed me to put me in a position that I don't need to sell ... >>what makes this pipe worth 12,000 bucks?! ...
    (alt.smokers.pipes)
  • Re: Using files to transfer data between processes
    ... lada77@yahoo.com (Larry) writes: ... > because of the end of file, i can clear it but it constantly fires off ... since you know how the programs work, you can time the sleeps so ... using a pipe, but record the results as they're sent, since pipes have ...
    (comp.lang.perl.misc)
  • Re: Whats your Oldest Pipe?
    ... Larry: the pipe i've had the longest is a small Savinelli purchased in ... 1965 after boot campthat I still have and it's a good friend ...
    (alt.smokers.pipes)