cURL / Mailing Lists / curl-library / Single Mail


Curl returning 0 return code during error

From: Michael Lam <>
Date: Tue, 3 Jan 2012 14:26:41 -0500

we were running curl to ftp a file to the client, we got the destination folder wrong but somehow still got 0 as return code. The return message told us there was error. This is very confusing, is there a way to fix this without having to parse the return message? I don't think --fail would work because it pertains to http servers. Thanks.

From my Android phone on T-Mobile. The first nationwide 4G network.

List admin:
Received on 2012-01-03