Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Aug 2005 02:50:31 GMT
From:      FUJISHIMA Satsuki <sf@FreeBSD.org>
To:        Brooks Davis <brooks@one-eyed-alien.net>
Cc:        ports@FreeBSD.org
Subject:   Re: hard to fetch file
Message-ID:  <200508310250.j7V2oVxM043480@freefall.freebsd.org>
In-Reply-To: <20050831014517.GB32477@odin.ac.hmc.edu>
References:  <20050831014517.GB32477@odin.ac.hmc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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  <text/plain; us-ascii (quoted-printable)>]
> 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



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