87
87
<p class="level0"><a name="CURLEWRITEERROR"></a><span class="nroffip">CURLE_WRITE_ERROR (23)</span>
88
88
<p class="level1">An error occurred when writing received data to a local file, or an error was returned to libcurl from a write callback.
89
89
<p class="level0"><a name="CURLEUPLOADFAILED"></a><span class="nroffip">CURLE_UPLOAD_FAILED (25)</span>
90
<p class="level1">Failed starting the upload. For FTP, the server typically denied the STOR command. The error buffer usually contains the server's explanation to this. (This error code was formerly known as CURLE_FTP_COULDNT_STOR_FILE.)
90
<p class="level1">Failed starting the upload. For FTP, the server typically denied the STOR command. The error buffer usually contains the server's explanation for this. (This error code was formerly known as CURLE_FTP_COULDNT_STOR_FILE.)
91
91
<p class="level0"><a name="CURLEREADERROR"></a><span class="nroffip">CURLE_READ_ERROR (26)</span>
92
92
<p class="level1">There was a problem reading a local file or an error returned by the read callback.
93
93
<p class="level0"><a name="CURLEOUTOFMEMORY"></a><span class="nroffip">CURLE_OUT_OF_MEMORY (27)</span>
94
<p class="level1">A memory allocation request failed. This is serious badness and things are severely screwed up if this ever occur.
94
<p class="level1">A memory allocation request failed. This is serious badness and things are severely screwed up if this ever occurs.
95
95
<p class="level0"><a name="CURLEOPERATIONTIMEDOUT"></a><span class="nroffip">CURLE_OPERATION_TIMEDOUT (28)</span>
96
96
<p class="level1">Operation timeout. The specified time-out period was reached according to the conditions.
97
97
<p class="level0"><a name="CURLEFTPPORTFAILED"></a><span class="nroffip">CURLE_FTP_PORT_FAILED (30)</span>
98
<p class="level1">The FTP PORT command returned error. This mostly happen when you haven't specified a good enough address for libcurl to use. See <span Class="emphasis">CURLOPT_FTPPORT</span>.
98
<p class="level1">The FTP PORT command returned error. This mostly happens when you haven't specified a good enough address for libcurl to use. See <span Class="emphasis">CURLOPT_FTPPORT</span>.
99
99
<p class="level0"><a name="CURLEFTPCOULDNTUSEREST"></a><span class="nroffip">CURLE_FTP_COULDNT_USE_REST (31)</span>
100
100
<p class="level1">The FTP REST command returned error. This should never happen if the server is sane.
101
101
<p class="level0"><a name="CURLERANGEERROR"></a><span class="nroffip">CURLE_RANGE_ERROR (33)</span>
139
139
<p class="level0"><a name="CURLERECVERROR"></a><span class="nroffip">CURLE_RECV_ERROR (56)</span>
140
140
<p class="level1">Failure with receiving network data.
141
141
<p class="level0"><a name="CURLESSLCERTPROBLEM"></a><span class="nroffip">CURLE_SSL_CERTPROBLEM (58)</span>
142
<p class="level1">problem with the local client certificate
142
<p class="level1">problem with the local client certificate.
143
143
<p class="level0"><a name="CURLESSLCIPHER"></a><span class="nroffip">CURLE_SSL_CIPHER (59)</span>
144
<p class="level1">Couldn't use specified cipher
144
<p class="level1">Couldn't use specified cipher.
145
145
<p class="level0"><a name="CURLESSLCACERT"></a><span class="nroffip">CURLE_SSL_CACERT (60)</span>
146
<p class="level1">Peer certificate cannot be authenticated with known CA certificates
146
<p class="level1">Peer certificate cannot be authenticated with known CA certificates.
147
147
<p class="level0"><a name="CURLEBADCONTENTENCODING"></a><span class="nroffip">CURLE_BAD_CONTENT_ENCODING (61)</span>
148
<p class="level1">Unrecognized transfer encoding
148
<p class="level1">Unrecognized transfer encoding.
149
149
<p class="level0"><a name="CURLELDAPINVALIDURL"></a><span class="nroffip">CURLE_LDAP_INVALID_URL (62)</span>
150
<p class="level1">Invalid LDAP URL
150
<p class="level1">Invalid LDAP URL.
151
151
<p class="level0"><a name="CURLEFILESIZEEXCEEDED"></a><span class="nroffip">CURLE_FILESIZE_EXCEEDED (63)</span>
152
<p class="level1">Maximum file size exceeded
152
<p class="level1">Maximum file size exceeded.
153
153
<p class="level0"><a name="CURLEUSESSLFAILED"></a><span class="nroffip">CURLE_USE_SSL_FAILED (64)</span>
154
<p class="level1">Requested FTP SSL level failed
154
<p class="level1">Requested FTP SSL level failed.
155
155
<p class="level0"><a name="CURLESENDFAILREWIND"></a><span class="nroffip">CURLE_SEND_FAIL_REWIND (65)</span>
156
<p class="level1">When doing a send operation curl had to rewind the data to retransmit, but the rewinding operation failed
156
<p class="level1">When doing a send operation curl had to rewind the data to retransmit, but the rewinding operation failed.
157
157
<p class="level0"><a name="CURLESSLENGINEINITFAILED"></a><span class="nroffip">CURLE_SSL_ENGINE_INITFAILED (66)</span>
158
<p class="level1">Initiating the SSL Engine failed
158
<p class="level1">Initiating the SSL Engine failed.
159
159
<p class="level0"><a name="CURLELOGINDENIED"></a><span class="nroffip">CURLE_LOGIN_DENIED (67)</span>
160
160
<p class="level1">The remote server denied curl to login (Added in 7.13.1)
161
161
<p class="level0"><a name="CURLETFTPNOTFOUND"></a><span class="nroffip">CURLE_TFTP_NOTFOUND (68)</span>
162
<p class="level1">File not found on TFTP server
162
<p class="level1">File not found on TFTP server.
163
163
<p class="level0"><a name="CURLETFTPPERM"></a><span class="nroffip">CURLE_TFTP_PERM (69)</span>
164
<p class="level1">Permission problem on TFTP server
164
<p class="level1">Permission problem on TFTP server.
165
165
<p class="level0"><a name="CURLEREMOTEDISKFULL"></a><span class="nroffip">CURLE_REMOTE_DISK_FULL (70)</span>
166
<p class="level1">Out of disk space on the server
166
<p class="level1">Out of disk space on the server.
167
167
<p class="level0"><a name="CURLETFTPILLEGAL"></a><span class="nroffip">CURLE_TFTP_ILLEGAL (71)</span>
168
<p class="level1">Illegal TFTP operation
168
<p class="level1">Illegal TFTP operation.
169
169
<p class="level0"><a name="CURLETFTPUNKNOWNID"></a><span class="nroffip">CURLE_TFTP_UNKNOWNID (72)</span>
170
<p class="level1">Unknown TFTP transfer ID
170
<p class="level1">Unknown TFTP transfer ID.
171
171
<p class="level0"><a name="CURLEREMOTEFILEEXISTS"></a><span class="nroffip">CURLE_REMOTE_FILE_EXISTS (73)</span>
172
<p class="level1">File already exists and will not be overwritten
172
<p class="level1">File already exists and will not be overwritten.
173
173
<p class="level0"><a name="CURLETFTPNOSUCHUSER"></a><span class="nroffip">CURLE_TFTP_NOSUCHUSER (74)</span>
174
<p class="level1">This error should never be returned by a properly functioning TFTP server
174
<p class="level1">This error should never be returned by a properly functioning TFTP server.
175
175
<p class="level0"><a name="CURLECONVFAILED"></a><span class="nroffip">CURLE_CONV_FAILED (75)</span>
176
<p class="level1">Character conversion failed
176
<p class="level1">Character conversion failed.
177
177
<p class="level0"><a name="CURLECONVREQD"></a><span class="nroffip">CURLE_CONV_REQD (76)</span>
178
<p class="level1">Caller must register conversion callbacks
178
<p class="level1">Caller must register conversion callbacks.
179
179
<p class="level0"><a name="CURLESSLCACERTBADFILE"></a><span class="nroffip">CURLE_SSL_CACERT_BADFILE (77)</span>
180
180
<p class="level1">Problem with reading the SSL CA cert (path? access rights?)
181
181
<p class="level0"><a name="CURLEREMOTEFILENOTFOUND"></a><span class="nroffip">CURLE_REMOTE_FILE_NOT_FOUND (78)</span>
182
<p class="level1">The resource referenced in the URL does not exist
182
<p class="level1">The resource referenced in the URL does not exist.
183
183
<p class="level0"><a name="CURLESSH"></a><span class="nroffip">CURLE_SSH (79)</span>
184
<p class="level1">An unspecified error occurred during the SSH session
184
<p class="level1">An unspecified error occurred during the SSH session.
185
185
<p class="level0"><a name="CURLESSLSHUTDOWNFAILED"></a><span class="nroffip">CURLE_SSL_SHUTDOWN_FAILED (80)</span>
186
<p class="level1">Failed to shut down the SSL connection
186
<p class="level1">Failed to shut down the SSL connection.
187
187
<p class="level0"><a name="CURLEAGAIN"></a><span class="nroffip">CURLE_AGAIN (81)</span>
188
188
<p class="level1">Socket is not ready for send/recv wait till it's ready and try again. This return code is only returned from <a class="emphasis" href="./curl_easy_recv.html">curl_easy_recv(3)</a> and <a class="emphasis" href="./curl_easy_send.html">curl_easy_send(3)</a> (Added in 7.18.2)
189
<p class="level0"><a name="CURLESSLCRLBADFILE"></a><span class="nroffip">CURLE_SSL_CRL_BADFILE (82)</span>
190
<p class="level1">Failed to load CRL file (Added in 7.19.0)
191
<p class="level0"><a name="CURLESSLISSUERERROR"></a><span class="nroffip">CURLE_SSL_ISSUER_ERROR (83)</span>
192
<p class="level1">Issuer check failed (Added in 7.19.0)
189
193
<p class="level0"><a name="CURLEOBSOLETE"></a><span class="nroffip">CURLE_OBSOLETE*</span>
190
<p class="level1">These error codes will never be returned. They used to be used in an old libcurl version and are currently unused. <a name="CURLMcode"></a><h2 class="nroffsh">CURLMcode</h2>
194
<p class="level1">These error codes will never be returned. They were used in an old libcurl version and are currently unused. <a name="CURLMcode"></a><h2 class="nroffsh">CURLMcode</h2>
191
195
<p class="level0">This is the generic return code used by functions in the libcurl multi interface. Also consider <a class="emphasis" href="./curl_multi_strerror.html">curl_multi_strerror(3)</a>.
192
196
<p class="level0"><a name="CURLMCALLMULTIPERFORM"></a><span class="nroffip">CURLM_CALL_MULTI_PERFORM (-1)</span>
193
197
<p class="level1">This is not really an error. It means you should call <a class="emphasis" href="./curl_multi_perform.html">curl_multi_perform(3)</a> again without doing select() or similar in between.