cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: problem with followlocation

From: Hetfield <hetfield_at_email.it>
Date: Fri, 28 Nov 2003 08:06:32 +0100

Il gio, 2003-11-27 alle 22:06, Daniel Stenberg ha scritto:

> On Thu, 27 Nov 2003, Hetfield wrote:
>
> > i'm writing a simple app that download a file. it works good if there is no
> > redirection. with redirection doesn't work.
>
> What libcurl version on what platform?
>
> When I try running curl (I tried 7.10.6) from my machine on that URL, I get a
> location just fine:
>
> $ curl -v
> "http://ocbmaurice.dyndns.org/pl/slist.pl/server.met?download/server-max.met"
> * About to connect() to ocbmaurice.dyndns.org:80
> * Connected to dclient62-2-175-50.hispeed.ch (62.2.175.50) port 80
> > GET /pl/slist.pl/server.met?download/server-max.met HTTP/1.1
> User-Agent: curl/7.10.6 (i686-pc-linux-gnu) libcurl/7.10.6 OpenSSL/0.9.7a ipv6
> zlib/1.1.3 GSS
> Host: ocbmaurice.dyndns.org
> Pragma: no-cache
> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
>
> < HTTP/1.1 302 Found
> < Date: Thu, 27 Nov 2003 21:35:37 GMT
> < Server: Apache/1.3.27 (Unix) mod_gzip/1.3.19.1a mod_throttle/3.1.2
> mod_perl/1.27
> < Location: http://slist.no-ip.info/lucnwjjwhd/max/server.met
> < Connection: close
> < Transfer-Encoding: chunked
> < Content-Type: text/plain
> * Closing connection #0
>

i have curl 7.10.8....the lastest release..

i had .3 rel with the same problem.

compile my code anche check if it works for you...

with curl i have your same result...but with libcurl not.

thx so much

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
Received on 2003-11-28