cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: cURL Command line tool redirection Problem (The location recived after a post is not followed succesfful)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 5 Sep 2008 13:39:04 +0200 (CEST)

On Fri, 5 Sep 2008, oren wrote:

> Is there a way to see what Is the Location recived by Curl after the post?

Yes, -v.

> this command is after i do all the nessery once before i post, The post is
> successful, I see the topic on my forum, The rediaction is not successful
>
> curl -b cookies.txt -c cookies.txt -e '&$URL&'/t'&$Topic&'-l.html -A
> "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; he; rv:1.9.0.1)
> Gecko/2008070208 Firefox/3.0.1" -s -S -L -d "ALL THE POST" "website"

The referer looks weird.

Are you using a recent curl version?

If you try that redirected-to URL directly with curl, does that work fine?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2008-09-05