Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Apr 2003 22:41:08 -0400
From:      taxman <taxman@acd.net>
To:        freebsd-questions@freebsd.org
Subject:   fetch starts over
Message-ID:  <200304172241.08776.taxman@acd.net>

next in thread | raw e-mail | index | archive | help

Hi all,
	
I'm sure this is known, but it seems fixable.  When trying to fetch a 
distfile, if it fails, then fetch overwrites it and starts from the begining.

Receiving gcc-core-3.1.1.tar.bz2 (10213865 bytes): 39% (ETA 41:01)  )
4000592 bytes transferred in 1584.6 seconds (2.47 kBps)
fetch: gcc-core-3.1.1.tar.bz2 appears to be truncated: 4000592/10213865 bytes
>> Attempting to fetch from 
ftp://ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/releases/gcc-3.1.1/.
Receiving gcc-core-3.1.1.tar.bz2 (10213865 bytes): 1% (ETA 01:17:34)
108544 bytes transferred in 49.5 seconds (2.14 kBps)
fetch: transfer interrupted

A little painful on a connection that slow! 

It seems it wouldn't just be as simple as using -r or else that would have 
already been done.  Or am I missing something?  Is it that easy, or is there 
another way to fix it?

Anyway to set that would I just set FETCH_CMD= /usr/bin/fetch -r  in 
/etc/make.conf?

Thanks,

Tim



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