From owner-freebsd-questions Tue Apr 2 8: 2:26 2002 Delivered-To: freebsd-questions@freebsd.org Received: from icarus.slightlystrange.org (icarus.slightlystrange.org [62.190.193.173]) by hub.freebsd.org (Postfix) with ESMTP id 354F937B437 for ; Tue, 2 Apr 2002 08:01:53 -0800 (PST) Received: from danielby by icarus.slightlystrange.org with local (Exim 3.12 #1 (Debian)) id 16sQjG-0007GW-00 for ; Tue, 02 Apr 2002 17:01:50 +0100 Date: Tue, 2 Apr 2002 17:01:50 +0100 From: Daniel Bye To: FBSDQ Subject: Re: fetch command usage Message-ID: <20020402160150.GC27119@icarus.slightlystrange.org> Reply-To: dan@slightlystrange.org Mail-Followup-To: FBSDQ References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i 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, Apr 02, 2002 at 10:45:10AM -0500, Joe & Fhe Barbish wrote: > I have been trying to ftp the 4.5-install.iso file and keep getting the > download interrupted. I read in the questions archives about using the > FBSD command fetch as a replacement for FTP because it has resume > capabilities to continue the download at the spot the downloaded file > was interrupted. The man page info is very vague about how to use the > fetch command. > > I am currently using this command in a script > > ftp -a -v > ftp11.FreeBSD.org:/pub/FreeBSD/releases/i386/ISO-IMAGES/4.5/4.5-install.iso > > When I modify this command to this > > fetch -arvAF > ftp11.FreeBSD.org:/pub/FreeBSD/releases/i386/ISO-IMAGES/4.5/README > > I get this error message > fetch: README: Invalid URL scheme > > Questions > > What is wrong with my fetch command? You need to drop the colon in the URL - like this: ftp11.FreeBSD.org/pub/FreeBSD/releases/i386/ISO-IMAGES/4.5/README And try again. > > Can I run all the flags together behind one -? It seemed to work for me just now... > > Am I using the correct flags? That depends ;-) What are you trying to make fetch do? > > Will this group of flags work for both the original download and the resume > download? I tend to use wget, and am lucky enough to have a fast enough connection I don't seem to need the resume function. However, the -r flag seems to be for resumed sessions. > > How does fetch know to resume a download where it left off? -r tells it that. Dan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message