~ubuntu-branches/ubuntu/gutsy/curl/gutsy

« back to all changes in this revision

Viewing changes to docs/libcurl/libcurl-errors.3

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-06-29 15:04:24 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20060629150424-pn00qumt9sml8p4m
Tags: 7.15.4-1ubuntu1
Synchronize to Debian. Only change left: Removal of stunnel and
libdb4.2-dev build dependencies.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
.\" You can view this file with:
2
2
.\" nroff -man [file]
3
 
.\" $Id: libcurl-errors.3,v 1.18 2005/05/16 22:30:00 bagder Exp $
 
3
.\" $Id: libcurl-errors.3,v 1.22 2006-04-26 13:00:45 bagder Exp $
4
4
.\"
5
5
.TH libcurl-errors 3 "9 Feb 2005" "libcurl 7.13.1" "libcurl errors"
6
6
.SH NAME
30
30
.IP "CURLE_URL_MALFORMAT (3)"
31
31
The URL was not properly formatted.
32
32
.IP "CURLE_URL_MALFORMAT_USER (4)"
33
 
URL user malformatted. The user-part of the URL syntax was not correct.
 
33
This is never returned by current libcurl.
34
34
.IP "CURLE_COULDNT_RESOLVE_PROXY (5)"
35
35
Couldn't resolve proxy. The given proxy host could not be resolved.
36
36
.IP "CURLE_COULDNT_RESOLVE_HOST (6)"
38
38
.IP "CURLE_COULDNT_CONNECT (7)"
39
39
Failed to connect() to host or proxy.
40
40
.IP "CURLE_FTP_WEIRD_SERVER_REPLY (8)"
41
 
After connecting to an FTP server, libcurl expects to get a certain reply back.
42
 
This error code implies that it god a strange or bad reply. The given remote
43
 
server is probably not an OK FTP server.
 
41
After connecting to an FTP server, libcurl expects to get a certain reply
 
42
back. This error code implies that it got a strange or bad reply. The given
 
43
remote server is probably not an OK FTP server.
44
44
.IP "CURLE_FTP_ACCESS_DENIED (9)"
45
45
We were denied access when trying to login to an FTP server or when trying to
46
46
change working directory to the one given in the URL.
47
47
.IP "CURLE_FTP_USER_PASSWORD_INCORRECT (10)"
48
 
The FTP server rejected access to the server after the password was sent to
49
 
it. It might be because the username and/or the password were incorrect or
50
 
just that the server is not allowing you access for the moment etc.
 
48
This is never returned by current libcurl.
51
49
.IP "CURLE_FTP_WEIRD_PASS_REPLY (11)"
52
50
After having sent the FTP password to the server, libcurl expects a proper
53
51
reply. This error code indicates that an unexpected code was returned.
87
85
An error occurred when writing received data to a local file, or an error was
88
86
returned to libcurl from a write callback.
89
87
.IP "CURLE_MALFORMAT_USER (24)"
90
 
Malformat user. User name badly specified. *Not currently used*
 
88
This is never returned by current libcurl.
91
89
.IP "CURLE_FTP_COULDNT_STOR_FILE (25)"
92
90
FTP couldn't STOR file. The server denied the STOR operation. The error buffer
93
91
usually contains the server's explanation to this.
138
136
.IP "CURLE_BAD_FUNCTION_ARGUMENT (43)"
139
137
Internal error. A function was called with a bad parameter.
140
138
.IP "CURLE_BAD_CALLING_ORDER (44)"
141
 
Internal error. A function was called in a bad order.
 
139
This is never returned by current libcurl.
142
140
.IP "CURLE_HTTP_PORT_FAILED (45)"
143
141
Interface error. A specified outgoing interface could not be used. Set which
144
142
interface to use for outgoing connections' source IP address with
145
143
CURLOPT_INTERFACE.
146
144
.IP "CURLE_BAD_PASSWORD_ENTERED (46)"
147
 
Bad password entered. An error was signaled when the password was
148
 
entered. This can also be the result of a "bad password" returned from a
149
 
specified password callback.
 
145
This is never returned by current libcurl.
150
146
.IP "CURLE_TOO_MANY_REDIRECTS (47)"
151
147
Too many redirects. When following redirects, libcurl hit the maximum amount.
152
148
Set your limit with CURLOPT_MAXREDIRS.
194
190
Initiating the SSL Engine failed
195
191
.IP "CURLE_LOGIN_DENIED (67)"
196
192
The remote server denied curl to login (Added in 7.13.1)
 
193
.IP "CURLE_TFTP_NOTFOUND (68)"
 
194
File not found on TFTP server
 
195
.IP "CURLE_TFTP_PERM (69"
 
196
Permission problem on TFTP server
 
197
.IP "CURLE_TFTP_DISKFULL (70)"
 
198
Out of disk space on TFTP server
 
199
.IP "CURLE_TFTP_ILLEGAL (71)"
 
200
Illegal TFTP operation
 
201
.IP "CURLE_TFTP_UNKNOWNID (72)"
 
202
Unknown TFTP transfer ID
 
203
.IP "CURLE_TFTP_EXISTS (73)"
 
204
TFTP File already exists
 
205
.IP "CURLE_TFTP_NOSUCHUSER (74)"
 
206
No such TFTP user
 
207
.IP "CURLE_CONV_FAILED (75)"
 
208
Character conversion failed
 
209
.IP "CURLE_CONV_REQD (76)"
 
210
Caller must register conversion callbacks
197
211
.SH "CURLMcode"
198
212
This is the generic return code used by functions in the libcurl multi
199
213
interface. Also consider \fIcurl_multi_strerror(3)\fP.
210
224
You are doomed.
211
225
.IP "CURLM_INTERNAL_ERROR (4)"
212
226
This can only be returned if libcurl bugs. Please report it to us!
 
227
.IP "CURLM_BAD_SOCKET (5)"
 
228
The passed-in socket is not a valid one that libcurl already knows about.
 
229
(Added in 7.16.0)
213
230
.SH "CURLSHcode"
214
231
The "share" interface will return a CURLSHcode to indicate when an error has
215
232
occurred.  Also consider \fIcurl_share_strerror(3)\fP.