From owner-freebsd-ports@FreeBSD.ORG Wed Aug 31 02:50:33 2005 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D4ADD16A422; Wed, 31 Aug 2005 02:50:33 +0000 (GMT) (envelope-from sf@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D9DE43D45; Wed, 31 Aug 2005 02:50:33 +0000 (GMT) (envelope-from sf@FreeBSD.org) Received: from freefall.freebsd.org (sf@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j7V2oX9g043498; Wed, 31 Aug 2005 02:50:33 GMT (envelope-from sf@freefall.freebsd.org) Received: from localhost (localhost [[UNIX: localhost]]) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j7V2oVxM043480; Wed, 31 Aug 2005 02:50:31 GMT (envelope-from sf) Date: Wed, 31 Aug 2005 02:50:31 GMT Message-Id: <200508310250.j7V2oVxM043480@freefall.freebsd.org> From: FUJISHIMA Satsuki To: Brooks Davis In-Reply-To: <20050831014517.GB32477@odin.ac.hmc.edu> References: <20050831014517.GB32477@odin.ac.hmc.edu> Mail-Followup-To: Brooks Davis , ports@freebsd.org, sf@FreeBSD.org User-Agent: Wanderlust/2.11.32 (Wonderwall) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 Emacs/21.3 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: ports@FreeBSD.org Subject: Re: hard to fetch file X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Aug 2005 02:50:34 -0000 This file requires session cookies to fetch. Because of this, one redirection handling is mandatory; the first session to obtain session cookies, and the second session to obtain tarball with that cookies. I think wget is the only choice due to the capability to handle both session cookies and automatic redirection tracking. (try --cookies and --no-cookies) $ wget --cookies http://gridengine.sunsource.net/servlets/ProjectDocumentDownload?documentID=32 --11:37:07-- http://gridengine.sunsource.net/servlets/ProjectDocumentDownload?documentID=32 => `ProjectDocumentDownload?documentID=32' Resolving gridengine.sunsource.net... 64.125.133.200 Connecting to gridengine.sunsource.net|64.125.133.200|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: http://www.sunsource.net/files/documents/7/32/sge-V60u6_TAG-src.tar.gz [following] --11:37:07-- http://www.sunsource.net/files/documents/7/32/sge-V60u6_TAG-src.tar.gz => `sge-V60u6_TAG-src.tar.gz' Resolving www.sunsource.net... 64.125.133.200 Reusing existing connection to gridengine.sunsource.net:80. HTTP request sent, awaiting response... 200 OK Length: 10,586,734 (10M) [application/x-tar] 100%[====================================>] 10,586,734 400.60K/s ETA 00:00 11:37:41 (304.97 KB/s) - `sge-V60u6_TAG-src.tar.gz' saved [10586734/10586734] At Tue, 30 Aug 2005 18:45:17 -0700, Brooks Davis wrote: > > [1 ] > I've got a file I'd like to fetch for my port of Sun Grid Engine, but I > can't seem to find a clean way to do it. The URL is: > > http://gridengine.sunsource.net/files/documents/7/32/sge-V60u6_TAG-src.tar.gz