From owner-freebsd-bugs Fri Jul 28 10:10:11 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id F321B37B9FC for ; Fri, 28 Jul 2000 10:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA19124; Fri, 28 Jul 2000 10:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from privatecube.privatelabs.com (privatecube.privatelabs.com [198.143.31.30]) by hub.freebsd.org (Postfix) with ESMTP id BFDB737B5B8 for ; Fri, 28 Jul 2000 10:00:03 -0700 (PDT) (envelope-from mi@privatelabs.com) Received: from misha.privatelabs.com (misha.privatelabs.com [198.143.31.6]) by privatecube.privatelabs.com (8.9.3/8.9.2) with ESMTP id LAA04004 for ; Fri, 28 Jul 2000 11:59:30 -0400 Received: (from root@localhost) by misha.privatelabs.com (8.9.3/8.9.3) id MAA01429; Fri, 28 Jul 2000 12:57:23 -0400 (EDT) (envelope-from mi) Message-Id: <200007281657.MAA01429@misha.privatelabs.com> Date: Fri, 28 Jul 2000 12:57:23 -0400 (EDT) From: Mikhail Teterin Reply-To: mi@aldan.algebra.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/20259: fetch(1) confused when redirected from http to ftp Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 20259 >Category: bin >Synopsis: fetch(1) confused when redirected from http to ftp >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 28 10:10:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Mikhail Teterin >Release: FreeBSD 4.1-STABLE i386 >Organization: Virtual Estates, Inc. >Environment: >Description: mi@misha:~/ports/distfiles (134) fetch -v http://dev.scriptics.com/download/tcl/tcl8_4/tcl8.4a1.tar.gz looking up dev.scriptics.com connecting to dev.scriptics.com:80 requesting http://dev.scriptics.com:80/download/tcl/tcl8_4/tcl8.4a1.tar.gz 302 redirect to ftp://ftp.scriptics.com/pub/tcl/tcl8_4/tcl8.4a1.tar.gz fetch: tcl8.4a1.tar.gz: mi@misha:~/ports/distfiles (135) >How-To-Repeat: Try the line above. The Scriptics web server redirects to the ftp site and fetch just exits at that point. If you know to run fetch with ``-v'', you'll see this, but without ``-v'' it leaves you clueless :( >Fix: Run with ``-v'' and re-fetch the correct URL explicitly. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message