cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl https file upload output

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 15 Nov 2007 23:48:17 +0100 (CET)

On Thu, 15 Nov 2007, Richard Vasquez wrote:

> #!/bin/ksh

I can't say I know much about korn shell's peculiarities...

> ...the following is returned
>
> <html>^M: not found
> 127

You didn't show us how you invoke that script. A little idea is to use the
--trace-ascii option to dump the full protocol stream and see if that makes
anything pop out.

curl cannot normally return 127, it would only happen if it crashed or
something.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-11-15