Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jul 2000 12:57:23 -0400 (EDT)
From:      Mikhail Teterin <mi@privatelabs.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/20259: fetch(1) confused when redirected from http to ftp
Message-ID:  <200007281657.MAA01429@misha.privatelabs.com>

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

>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




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