From owner-freebsd-ports Fri Mar 16 6: 7:50 2001 Delivered-To: freebsd-ports@freebsd.org Received: from aaz.links.ru (aaz.links.ru [193.125.152.37]) by hub.freebsd.org (Postfix) with ESMTP id 6335C37B71C for ; Fri, 16 Mar 2001 06:07:46 -0800 (PST) (envelope-from babolo@links.ru) Received: (from babolo@localhost) by aaz.links.ru (8.9.3/8.9.3) id RAA14940; Fri, 16 Mar 2001 17:07:30 +0300 (MSK) Message-Id: <200103161407.RAA14940@aaz.links.ru> Subject: Re: curl 7.6.1 port : HTTP proxy not working In-Reply-To: <20010316105750.A10304@ringworld.oblivion.bg> from "Peter Pentchev" at "Mar 16, 1 10:57:50 am" To: roam@orbitel.bg (Peter Pentchev) Date: Fri, 16 Mar 2001 17:07:30 +0300 (MSK) Cc: des@thinksec.com, Stephane.Lentz@ansf.alcatel.fr, ports@FreeBSD.ORG From: .@babolo.ru MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Peter Pentchev writes: > On Fri, Mar 16, 2001 at 01:55:18AM +0300, .@babolo.ru wrote: > > I don't know if curl can, but fetch as many others can't get > > > > http://www.fortunecity.es/consola/gorilas/408/120301/Mikegunn.gif > > http://www.fortunecity.es/consola/gorilas/408/120301/Thor.zip > > > > The first looks as a fortunecity logo until cookies sent. > > The second redirects to some text/html until cookies sent. > > Well, plain old lynx can't fetch either of those, either; are you > sure that there are really no cookies needed? Maybe those URL's > are only fetchable if you've followed a certain path through fortunecity > before that? There are really cookies needed. The possible way is fetch with some flag to get cookie and than use cookie. For example: fetch --setcookie \ `fetch --getcookie http://www.fortunecity.es/consola/gorilas/408/index.html` \ http://www.fortunecity.es/consola/gorilas/408/120301/Mikegunn.gif -- @BABOLO http://links.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message