Curl Status code list (verbose) _php tutorial

Source: Internet
Author: User

Curl Status Code List

Status code

Status Reason

Explain

0

Normal access

1

The wrong protocol

An unsupported protocol. This version of Curl does not support this protocol.

2

Failed to initialize code

Initialization failed.

3

URL format is incorrect

URL format error. The syntax is not correct.

4

Request protocol error

5

Unable to resolve proxy

Unable to resolve proxy. Unable to resolve the given proxy host.

6

Unable to resolve host address

Unable to resolve host. Unable to resolve the given remote host.

7

Unable to connect to host

Unable to connect to host.

8

Remote server not available

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

9

Access Resource Error

FTP access is denied. The server refused to log in or could not get the specific resource or directory you want. Most likely to
It is possible that you are attempting to enter a directory that does not exist on this server.

11

FTP Password Error

FTP non-normal pass reply. CURL cannot resolve the reply sent to the pass request.

13

Result error

FTP is not a normal PASV response, and CURL cannot resolve the response sent to the PASV request.

14

FTP Response PASV Command

FTP is not a normal 227 format. CURL cannot resolve 227 rows sent by the server.

15

Internal failure

FTP could not connect to the host. Unable to resolve the host IP obtained in line 227.

17

Set the transfer mode to binary

FTP cannot be set to binary transfer. Cannot change the transmission mode to binary.

18

File transfer short or larger than expected

Part of the file. Only some of the files are transferred.

19

RETR Command Transfer complete

FTP cannot download/access the given file, and the RETR (or similar) command fails.

21st

Command completed successfully

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

22

Return to normal

HTTP could not find the Web page. The requested URL could not be found or another HTTP 400 or above 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 the local file system or to a similar destination.

25

Unable to start upload

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

26

Callback Error

Read error. All kinds of reading problems.

27

Memory allocation request failed

Not enough memory. Memory allocation request failed.

28

Access timeout

The operation timed out. Reaches the specified time-out period condition.

30

FTP Port Error

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

31

FTP error

FTP cannot use the rest command. The REST command failed. This command is used to restore the FTP transport.

33

Request not supported

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

34

An internal error has occurred

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

35

SSL/TLS handshake failure

SSL connection error. The SSL handshake failed.

36

Download cannot be restored

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

37

File Permissions Error

The file could not be read. The file could not be opened. Permissions issues?

38

LDAP may not be binding

LDAP could not be bound. The LDAP bind (BIND) operation failed.

39

LDAP search failed

LDAP search failed.

41

Function not found

Function could not be found. Unable to find the necessary LDAP functionality.

42

Aborted callbacks

Terminated by the callback. The application informs Curl to terminate the operation.

43

Internal Error

Internal error. The feature was called by an incorrect parameter.

45

Interface error

Interface error. The specified outgoing interface is not available.

47

Too many redirects

Too many redirects. CURL reaches the maximum limit following the redirection setting

48

Option not recognized

An unknown telnet option was specified.

49

Telnet format error

Non-compliant Telnet option.

51

SSL Certificate for Remote server

Peer's SSL certificate or SSH MD5 fingerprint is not determined.

52

Server has no return content

The server has no response, which is considered to be an error in this case.

53

Encryption engine not found

The SSL encryption engine could not be found.

54

Failed to set default SSL encryption

The SSL encryption engine cannot be set to the 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 cannot be used.

60

Credentials cannot be verified

Peer certificates cannot be validated by a known CA certificate.

61

Unrecognized transfer encoding

Unrecognized transmission encoding.

62

Invalid LDAP URL

Invalid LDAP URL.

63

File exceeds maximum size

exceeds the maximum file size.

64

FTP failed

The SSL level of the required FTP failed.

65

Rewind operation failed

Failed to send back volume (rewind) required for this data.

66

SSL Engine failed

Initialization of the SSL engine failed.

67

Server denied Login

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 running out of disk space.

71

Illegal TFTP operation

Illegal TFTP operation.

72

ID of the unknown TFTP transfer

Unknown TFTP transfer number (ID).

73

File already exists

File already exists (TFTP).

74

Error TFTP server

No such user (TFTP).

75

Character conversion failed

Character conversion failed.

76

Callback must be logged

Character conversion is required.

77

CA Certificate Permissions

There is a problem with the Read 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 the SSH session.

80

Unable to close SSL connection

Failed to close the SSL connection.

81

Service not ready

82

Unable to load CRL file

The CRL file could not be loaded, missing or malformed (added in version 7.19.0).

83

Issuer Check failed

Issue check failed (added in version 7.19.0).

http://www.bkjia.com/PHPjc/327879.html www.bkjia.com true http://www.bkjia.com/PHPjc/327879.html techarticle Curl Status Code list status Code state reason explanation 0 normal access 1 bad protocol not supported protocol. This version of Curl does not support this protocol. 2 initialization of code failed initialization failed. ...

  • 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.