Curl Status Code list (detail) _php tips

Source: Internet
Author: User
Tags curl http post ldap file permissions ftp access ftp transfer ssl certificate ssl connection

Curl Status Code List

Status code

Status Reason

Explain

0

Normal access

1

Wrong protocol.

Unsupported protocol. This version of Curl does not support this agreement.

2

Initialization of code failed

Initialization failed.

3

URL format is not correct

Bad URL format. The syntax is not correct.

4

Request protocol error

5

Unable to resolve agent

Unable to resolve agent. The given proxy host could not be resolved.

6

Unable to resolve host address

Unable to resolve host. The given remote host could not be resolved.

7

Unable to connect to host

Unable to connect to the host.

8

Remote server is not available

FTP is not a normal server response. CURL cannot resolve data sent by the server.

9

Access Resource Error

FTP access was denied. The server refused to log in or could not get the specific resource or directory you want. Most available
What you can do is try to enter a directory that does not exist on this server.

11

FTP Password Error

FTP abnormal pass reply. CURL cannot parse the answer sent to the pass request.

13

Result error

FTP is not a normal PASV answer, CURL cannot resolve the reply sent to the PASV request.

14

FTP Response PASV Command

FTP is not in the normal 227 format. CURL could not resolve 227 rows sent by the server.

15

Internal failure

FTP cannot connect to the host. Unable to resolve host IP acquired in line 227.

17

Set transfer mode to binary

FTP cannot be set to binary transmission. The transmission mode cannot be changed to binary.

18

File transfer short or greater than expected

Part of the file. Only part of the file is transmitted.

19

RETR Command Transfer complete

FTP cannot download/access a given file, RETR (or similar) command failed.

21st

Command completed successfully

FTP quote error. The quote command returned an error from the server.

22

Back to Normal

HTTP could not find the Web page. The requested URL could not be found or another HTTP 400 or more error was returned.
This return code only appears after using the-f/--fail option.

23

Data Write Failed

Write error. CURL cannot write data to local file systems or similar purposes.

25

Unable to start upload

FTP cannot stor files. The server rejected the Stor operation for FTP uploads.

26

Callback Error

Read error. Various types of reading problems.

27

Memory allocation request failed

There is not enough memory. The memory allocation request failed.

28

Access timeout

The operation timed out. The specified time-out period condition is reached.

30

FTP Port Error

FTP PORT failed. The PORT command failed. Not all FTP servers support the port command, please
Try using Passive (PASV) transmissions instead!

31

FTP error

FTP cannot use the rest command. The REST command failed. The FTP transfer that this command uses to recover.

33

Request not supported

HTTP range error. Range "Command" does not work.

34

An internal error occurred

HTTP POST error. An internal POST request generated an error.

35

Ssl/tls Handshake failed

SSL connection error. The SSL handshake failed.

36

Download cannot be recovered

FTP continues to corrupt. Unable to continue the download that was aborted earlier.

37

File Permissions Error

The file could not be read. Unable to open file. Permission issues?

38

LDAP may not be binding

LDAP cannot bind. The LDAP bind (BIND) operation failed.

39

LDAP search failed

LDAP search failed.

41

Function not found

The feature could not be found. The necessary LDAP functionality could not be found.

42

Aborted callback

Terminated by the callback. The application informs curl that the operation is terminated.

43

Internal Error

Internal error. The function was invoked by an incorrect argument.

45

Interface error

Interface error. The specified outgoing interface is not available.

47

Too many redirects

Too many redirects. CURL has reached the maximum limit for following redirect settings

48

Unrecognized option

An unknown telnet option was specified.

49

Telnet format error

The inconsistent Telnet option.

51

SSL Certificate for Remote server

The peer SSL certificate or SSH MD5 fingerprint is not determined.

52

Server does not return content

The server has no answer, which is considered an error here.

53

Encryption engine not found

The SSL encryption engine could not be found.

54

Setting default SSL encryption failed

The SSL encryption engine cannot be set to default.

55

Unable to send network data

Failed to send network data.

56

Failure to receive network data

Failed while receiving network data.

57

58

Local client Certificate

There is a problem with the local certificate.

59

Unable to use password

The specified SSL password could not be used.

60

Credentials cannot be validated

The peer certificate could not be validated by a known CA certificate.

61

Unrecognized transfer encoding

Unrecognized transmission encoding.

62

Invalid LDAP URL

An invalid LDAP URL.

63

File exceeds maximum size

exceeds the maximum file size.

64

FTP failed

The requested FTP SSL level failed.

65

Rewind operation failed

The rollback volume (rewind) required to send this data failed.

66

SSL Engine failed

Initialization of the SSL engine failed.

67

Server refused to log on

The user name, password, or similar information was not accepted and the CURL login failed.

68

File not found

The file could not be found on the TFTP server.

69

No permissions

There is a problem with the TFTP server permissions.

70

Server disk space exceeded

The TFTP server is low on disk space.

71

Illegal TFTP operation

Illegal TFTP operation.

72

ID of unknown TFTP transfer

Unknown TFTP transfer number (ID).

73

File already exists

File already exists (TFTP).

74

Error TFTP server

No this user (TFTP).

75

Character conversion failed

Character conversion failed.

76

Callback must be logged

The character conversion function is required.

77

CA Certificate Permissions

There was a problem reading the SSL certificate (path?) Access rights? ) 。

78

Reference resource does not exist in URL

The resource referenced in the URL does not exist.

79

Error occurred in SSH session

An unknown error occurred during an SSH session.

80

Unable to turn off SSL connection

The SSL connection could not be turned off.

81

Service not ready

82

Unable to load CRL file

Cannot load CRL file, missing or malformed (added in version 7.19.0).

83

Publisher check failed

The issuance check failed (added in version 7.19.0).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.