cURL / Mailing Lists / curl-users / Single Mail


Re: Fwd: Curl sends me to main web page when it exists redirect.

From: Daniel Stenberg <>
Date: Mon, 24 Oct 2016 15:53:35 +0200 (CEST)

On Mon, 24 Oct 2016, mierdatutis mi wrote:

> I execute a script periodically. At the begining of my script, I save
> cookies to use them. so I don't understand why only happens sometimes. There
> is some way (log, some modifier...) to can investigate the problem

Well, the -v flag to curl gives you as much data there is. You won't know
exactly why the server does what it does, you have to figure that out trying
different things, comparing with what a browser does against the same site or
by asking the admins of the site.

List admin:
Received on 2016-10-24