cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Curl returns exit code 18 for remote file

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 2 Aug 2011 14:15:00 -0700

On Tue, Aug 02, 2011 at 04:26:39PM -0400, James B. Byrne wrote:
> I will give the -o option a whirl. But even when I get the output
> to quieten I am still left with the return code of 18, for which I
> have no explanation.

With --head, you shouldn't be getting error 18 since there's no file
transfer being done. Can you show the log for that case? Unfortunately,
--ignore-content-length is ignored on FTP transfers, so it shouldn't
make a difference one way or another.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-08-02