*BSD News Article 61242


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!oleane!jussieu.fr!univ-lyon1.fr!in2p3.fr!swidir.switch.ch!scsing.switch.ch!ubnsrv.unisource.ch!news
From: Robin Stephenson <robin@coretec.ch>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: downloading file from shell session?
Date: 12 Feb 1996 13:05:32 +0100
Organization: Coretec GmbH
Lines: 16
Sender: rss@babylon.coretec.ch
Message-ID: <x7hgwwvjeb.fsf@babylon.coretec.ch>
References: <4fa9rp$d85@hideout.emanon.net>
Reply-To: robin@coretec.ch
NNTP-Posting-Host: babylon.coretec.ch
In-reply-to: dew@recom.com's message of 7 Feb 1996 13:35:53 GMT
To: dew@recom.com
X-Newsreader: Gnus v5.0.13

dew@recom.com wrote:

| during a telnet session to freebsd is there a command to download a file from host to local pc just 
| running a shell session?
| 
| maybe qmodem or zmodem?

One idea might be to uuencode the file (or use PGP - `a better
uuencode htan uuencode' according to the manual), cat it to screen,
capture it in a screen log and then decode it on the local machine.
Not pretty, and certainly not ideal for big files, but it's sometimes
a useful trick.
-- 
-- 
Robin Stephenson  - send email with subject `send pgp key' for pgp key
Keep Away From Children