[App_rpt-users] copying files between asterisk boxes under program control
Ken
ke2n at cs.com
Sun Apr 10 03:35:31 UTC 2011
>
> > Secondly
> >
> > If possible, is there a way to direct the output of this transfer to
> > "stdin" so that it can go directly into another program?
>
> Yes, you use ssh for this (not scp). Here's how:
>
> http://gnuru.org/article/1522/copying-with-scp-stdin
Yes OK - but I want it to go the stdin of the program running on the remote
box.
This is the box that is fetching the data/file.
That means scp needs to send its file data to STDOUT (which would then be
piped into the next program)
Ken
More information about the App_rpt-users
mailing list