Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jan 2003 23:30:39 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd <freebsd-questions@FreeBSD.ORG>
Subject:   Re: lynx downloads
Message-ID:  <20030114233039.GA22937@happy-idiot-talk.infracaninophi>
In-Reply-To: <20030114224558.GA16248@anand.org>
References:  <OE365Jo9qareZEUPMYN00001885@hotmail.com> <20030114224558.GA16248@anand.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 14, 2003 at 11:45:58PM +0100, Anand Buddhdev wrote:
> On Tue, Jan 14, 2003 at 04:42:00PM -0600, Brian Henning wrote:
> 
> > i am trying to download an iso image with lynx from a http site. i noticed
> > that lynx stores the file in the /tmp directory. the problem is my /tmp is
> > only 250MB but the iso is 500+ MB. What can i do in order avoid getting disk
> > errors while downloading this file?
> 
> Use wget or curl instead of lynx. These utilities download the file via
> FTP or HTTP directly to the location of your choice, eg:
> 
> $ cd /path/to/big/partition
> $ wget http://site/large.iso

Or use fetch(1) which comes built-in, and will pull down both http://
or ftp:// URLS.

Alternatively, if you would prefer to stick with lynx(1), just set the
TMPDIR environmental variable to a directory writable by you and on a
partition with plenty of space. eg.

    setenv TMPDIR ${HOME}/tmp

if you like tcsh, or

    TMPDIR=${HOME}/tmp ; export TMPDIR

if you prefer sh or bash.  You could set the LYNX_TEMP_SPACE instead,
which achieves the same thing.  LYNX_TEMP_SPACE is lynx(1) specific,
but most programs that use /tmp will abide by the TMPDIR setting.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030114233039.GA22937>