From owner-freebsd-questions Tue Jan 14 15:30:59 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BA9037B401 for ; Tue, 14 Jan 2003 15:30:58 -0800 (PST) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id C957B43F13 for ; Tue, 14 Jan 2003 15:30:55 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id h0ENUi1n023175 for ; Tue, 14 Jan 2003 23:30:44 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id h0ENUdJ0023174 for freebsd-questions@FreeBSD.ORG; Tue, 14 Jan 2003 23:30:39 GMT Date: Tue, 14 Jan 2003 23:30:39 +0000 From: Matthew Seaman To: freebsd Subject: Re: lynx downloads Message-ID: <20030114233039.GA22937@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , freebsd References: <20030114224558.GA16248@anand.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030114224558.GA16248@anand.org> User-Agent: Mutt/1.5.3i X-Spam-Status: No, hits=-3.3 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_01_02, USER_AGENT,USER_AGENT_MUTT version=2.43 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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