Re: additional features in bsd.rd

2005-11-24 Thread Alexander Hall
Stuart Henderson wrote: (echo "cd /pub/incoming put |dmesg dmesg.txt") | ftp -a some.server I still can't work out how to pipe the output directly through ftp but this is better and less confusing anyway. Thanks for the prod. Something like { echo "put - kalle"; cat; } | ftp -a localhos

Re: additional features in bsd.rd

2005-11-24 Thread Stuart Henderson
--On 24 November 2005 09:12 +0100, Matthias Kilian wrote: > You can download and upload files using ftp(1). > I use to do it since OpenBSD 2.9, using standard floppies. With ftp in a pipe, you can only retrieve. Strange. I do backups on a server located at Strato using ftp(1) and dump(8). I d

Re: additional features in bsd.rd

2005-11-24 Thread Pete Vickers
On 23. nov. 2005, at 23.03, Chris Kuethe wrote: On 23/11/05, Olivier Cherrier <[EMAIL PROTECTED]> wrote: You can download and upload files using ftp(1). I use to do it since OpenBSD 2.9, using standard floppies. i think he wants to do something like ftp -u /tmp/thingy ftp://myserver/pub/inc

Re: additional features in bsd.rd

2005-11-24 Thread Matthias Kilian
On Wed, Nov 23, 2005 at 10:54:55PM +, Stuart Henderson wrote: > > You can download and upload files using ftp(1). > > I use to do it since OpenBSD 2.9, using standard floppies. > > With ftp in a pipe, you can only retrieve. Strange. I do backups on a server located at Strato using ftp(1) and

Re: additional features in bsd.rd

2005-11-23 Thread Stuart Henderson
On 2005/11/23 22:07:49, Olivier Cherrier wrote: > On Tue, Nov 22, 2005 at 01:08:24PM +0100, [EMAIL PROTECTED] wrote: > > >>3. Restore a 'disk image' from above... > > >> # nc -l 1234 | dd of=/dev/rwd0c > > > > > >You can already do those things with 'ftp -o -'.. > > > > unless I read ftp(1) inc

Re: additional features in bsd.rd

2005-11-23 Thread Chris Kuethe
On 23/11/05, Olivier Cherrier <[EMAIL PROTECTED]> wrote: > You can download and upload files using ftp(1). > I use to do it since OpenBSD 2.9, using standard floppies. i think he wants to do something like ftp -u /tmp/thingy ftp://myserver/pub/incoming/dmesg.txt to upload /tmp/thingy to myserver

Re: additional features in bsd.rd

2005-11-23 Thread Olivier Cherrier
On Tue, Nov 22, 2005 at 01:08:24PM +0100, [EMAIL PROTECTED] wrote: > >>3. Restore a 'disk image' from above... > >># nc -l 1234 | dd of=/dev/rwd0c > > > >You can already do those things with 'ftp -o -'.. > > unless I read ftp(1) incorrectly, then it supports retrieve only, > with no abilit

Re: additional features in bsd.rd

2005-11-23 Thread Ray Lai
On Tue, Nov 22, 2005 at 12:01:05PM +0100, Pete Vickers wrote: > 1. Get a dmesg output from CD-ROM booted bsd.rd to my other machine > for emailing etc. > # dmesg | nc 10.20.30.40 1234 > > 2. Get information off a machine, either for backup purposes or data > recovery etc. > # dd i

Re: additional features in bsd.rd

2005-11-22 Thread Pete Vickers
On 22. nov. 2005, at 12.42, Stuart Henderson wrote: --On 22 November 2005 12:01 +0100, Pete Vickers wrote: 1. Get a dmesg output from CD-ROM booted bsd.rd to my other machine for emailing etc. # dmesg | nc 10.20.30.40 1234 3. Restore a 'disk image' from above... # nc -l 123

Re: additional features in bsd.rd

2005-11-22 Thread Stuart Henderson
--On 22 November 2005 12:01 +0100, Pete Vickers wrote: 1. Get a dmesg output from CD-ROM booted bsd.rd to my other machine for emailing etc. # dmesg | nc 10.20.30.40 1234 3. Restore a 'disk image' from above... # nc -l 1234 | dd of=/dev/rwd0c You can already do those things