cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Hi!

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 2 Jan 2006 11:19:21 +0100 (CET)

On Fri, 30 Dec 2005, Herpreet wrote:

Using HTML in posts here is not nice:

         http://curl.haxx.se/mail/etiquette.html#html

> I am using curl to access http://tweb33.web.aol.com:8020
> which redirects me to https://tweb33.web.aol.com:8463/_cqr/login/login.psp?mcState=initialized&sitedom
> ain=tweb33.web.aol.com&lang=en&locale=us&authLev=2

> when i run it with curl -Lhttps://tweb33.web.aol.com:8463/_cqr/login/login.psp?mcState=initialized&sitedom
> ain=tweb33.web.aol.com&lang=en&locale=us&authLev=2

> i get missing sitedomain error although its there in URL. can anyone suggest
> whats wrong here

1. You must have a space after the -L option

2. You probably must enclose that URL within quotes

3. You probably want to use -L on the original URL and let it follow the
    redirect from there.

4. You might need cookies enabled for it to work.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-01-02