curl Exit Codes
Exit codes returned by the curl command-line tool when a transfer fails.
References
59 codes
-
0OK -
1Unsupported protocol -
2Failed to initialise -
3Malformed URL -
4Feature not available -
5Could not resolve proxy -
6Could not resolve host -
7Failed to connect -
8Weird server reply -
9FTP access denied -
10FTP accept failed -
11FTP weird PASS reply -
12FTP accept timeout -
13FTP weird PASV reply -
14FTP weird 227 format -
15FTP cannot get host -
16HTTP/2 error -
17FTP could not set type -
18Partial file -
19FTP could not download -
21FTP quote error -
22HTTP page not retrieved -
23Write error -
25FTP could not STOR file -
26Read error -
27Out of memory -
28Operation timeout -
30FTP PORT failed -
31FTP could not use REST -
33HTTP range error -
34HTTP post error -
35SSL connect error -
36FTP bad download resume -
37FILE read error -
38LDAP bind operation failed -
39LDAP search failed -
41Function not found -
42Aborted by callback -
43Internal error -
45Interface error -
47Too many redirects -
48Unknown option -
49Malformed telnet option -
51Peer certificate verification failed -
52Empty reply from server -
53SSL crypto engine not found -
54SSL crypto engine default failed -
55Network send failure -
56Network receive failure -
58Problem with local certificate -
59Could not use SSL cipher -
60Peer certificate not verified -
61Unrecognised transfer encoding -
63Maximum file size exceeded -
67Login denied -
73Remote file already exists -
77Problem with SSL CA cert -
78Remote file not found -
92HTTP/2 stream error