cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Having problem with curl inside a linux script

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 24 Nov 2004 20:26:44 +0100 (CET)

On Wed, 24 Nov 2004, albprim_at_katamail.com wrote:

> The curl command returns the page i was waiting from if launched by command
> line (shell unix) while it returns an error page if called from a unix shell
> script. It seems a cookie related problem. Does anyone have any
> idea/suggestion

Are you using the same/full path to the files? Are you using the script with
the same user as on the command line? Are you possibly having different PATHs
and thus perhaps are using different versions of curl?

Normally, there should of course be no difference.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-11-24