[TriLUG] FTP as a stream endpoint

Matt Pusateri mpusateri at wickedtrails.com
Fri Oct 7 16:11:30 EDT 2005


look at:
http://www.freebsddiary.org/phorum/read.php?f=3&i=821&t=821&article_id=529

This was the parent article: http://www.freebsddiary.org/scp.php


Matt P.

On Fri, October 7, 2005 3:45 pm, Steven Blanchard wrote:
> This is off the top of my head, so the syntax may not be exact. This
> assumes
> shell access on the remote system.
>
> tar -cj /some_path/to_backup | ssh user at host dd of=out.tar.bz2
>
> ~Steven
>
> On 10/7/05, Brian Henning <brian at strutmasters.com> wrote:
>>
>> Hi Y'all,
>> The subject may be a bad choice of words, but here's what I want to
>> accomplish, in pseudo-shell code:
>>
>> tar -cj /some_path/to_backup > ftp user:pass at server put some_file
>>
>> In English, I want the stdout from tar to go across an ftp link as a
>> PUT
>> to a file on the ftp server...
>>
>> Or an SCP transfer (instead of FTP) would be fine too.
>>
>> This seems so simple, it probably is and I feel somewhat foolish
>> asking.. Just have little time to go scouring, if someone can
>> provide
>> an answer, or pointer, more quickly. :-)
>>
>> Rock on,
>> ~Brian
>>
>>
>> --
>> ----------------
>> Brian A. Henning
>> strutmasters.com <http://strutmasters.com>
>> 336.597.2397x238
>> ----------------
>> --
>> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
>> TriLUG Organizational FAQ : http://trilug.org/faq/
>> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
>>
> --
> TriLUG mailing list        :
> http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
>
>





More information about the TriLUG mailing list