comp • gb.net.curl • net

Net (gb.net.curl)

This class contains important constants for use with gb.net.curl objects, especially the error code constants.

This class reimplements Net in gb.net.
This class is static.

Static methods

Constants
Format a string that contains an IP address.
Format  
Aborted by callback. A callback returned "abort" to libcurl.
AbortedByCallback  
This constant shows that a remote client is trying to connect with a server socket, and that the connection is being accepted.
Accepting  
This constant shows that a network object is working at this moment.
Active  
A constant for the Async property.
Asynchronous  
This constant is used when any authentication method is possible.
AuthAny  
This constant represents any authentication method, except AuthBasic.
AuthAnySafe  
This constant represents the Basic authentication method.
AuthBasic  
This constant represents the Digest authentication method.
AuthDigest  
This constant represents the Digest authentication method with an Internet Explorer flavor.
AuthDigestIE  
This constant represents the Gss-Negotiate authentication method.
AuthGssNegotiate  
This constant is used when there is no authentication method.
AuthNone  
This constant represents the NTLM authentication method.
AuthNtlm  
This constant represents NTLM authentication delegated to winbind helper.
AuthNtlmWb  
Unrecognized transfer encoding.
BadContentEncoding  
Attempting FTP resume beyond file size.
BadDownloadResume  
Internal error. A function was called with a bad parameter.
BadFunctionArgument  
Const CannotAuthenticate As Integer = -16
CannotAuthenticate  
This error constant means that binding a serversocket to a specific interface failed.
CannotBindInterface  
This constant reflects that a network socket was unable to use (bind) to a port.
CannotBindSocket  
This constant reflects that a network object was unable to create a new socket, the system did not allow the operation to be performed.
CannotCreateSocket  
This constant reflects that a server socket was unable to start listening on a TCP port or a local path.
CannotListen  
This constant reflects that there was an error when trying to read data from a socket or a serial port.
CannotRead  
This constant shows that there was an error when trying to write data to a socket or a serial port.
CannotWrite  
Chunk callback reported error.
ChunkFailed  
This constant reflects that a socket, acting like a client, is currently connected to a remote server.
Connected  
This constant reflects that a socket, acting like a client, is trying to connect to a remote server.
Connecting  
This constant reflects that a remote server refused a connection from a client socket.
ConnectionRefused  
Character conversion failed.
ConvFailed  
Caller must register conversion callbacks.
ConvRequired  
Unable to parse FTP file list (during FTP wildcard downloading).
FTPBadFileList  
The FTP PORT command returned error. This mostly happens when you haven't specified a good enough address for libcurl to use.
FTPPortFailed  
The FTP server does not understand the PRET command at all or does not support the given argument.
FTPPretFailed  
An internal failure to lookup the host used for the new connection.
FTPUnableToGetHost  
This was either a weird reply to a 'RETR' command or a zero byte transfer complete.
FTPUnableToRETRFile  
Received an error when trying to set the transfer mode to binary or ASCII.
FTPUnableToSetType  
The FTP REST command returned error. This should never happen if the server is sane.
FTPUnableToUseRest  
FTP servers return a 227-line as a response to a PASV command. If libcurl fails to parse that line, this return code is passed back.
FTPWeird227Format  
After having sent the FTP password to the server, libcurl expects a proper reply. This error code indicates that an unexpected code was returned.
FTPWeirdPassReply  
libcurl failed to get a sensible result back from the server as a response to either a PASV or a EPSV command. The server is flawed.
FTPWeirdPasvReply  
After connecting to a FTP server, libcurl expects to get a certain reply back. This error code implies that it got a strange or bad reply. The given remote server is probably not an OK FTP server.
FTPWeirdServerReply  
Very early initialization code failed.
FailedInit  
Maximum file size exceeded.
FileSizeExceeded  
Function not found. A required zlib function was not found.
FunctionNotFound  
Nothing was returned from the server, and under the circumstances, getting nothing is considered an error.
GotNothing  
This is an odd error that mainly occurs due to internal confusion.
HTTPPostError  
This constant reflects that an object from one of the Net classes failed to translate a host name to an IP address.
HostNotFound  
This is returned if the HTTP server returns an error code that is >= 400.
HttpReturnedError  
Constant used by Format for IPv4 addresses.
IPv4  
This constant reflects that a network object is doing nothing, it is inactive.
Inactive  
Interface error. A specified outgoing interface could not be used.
InterfaceFailed  
Defines an Internet domain socket.
Internet  
Defines a local or an Unix domain socket.
Local  
The remote server denied curl to login.
LoginDenied  
Operation timeout. The specified time-out period was reached according to the conditions.
OperationTimeout  
A memory allocation request failed. This is serious badness and things are severely screwed up if this ever occurs.
OutOfMemory  
A file transfer was shorter or larger than expected. This happens when the server first reports an expected transfer size, and then delivers data that doesn't match the previously given size.
PartialFile  
The remote server's SSL certificate or SSH md5 fingerprint was deemed not OK.
PeerFailedVerification  
This constant reflects that a remote client is trying to connect with a server socket, and that connection must be accepted or rejected.
Pending  
This constant represents an HTTP proxy.
ProxyHTTP  
This constant represents a SOCKS5 proxy.
ProxySocks5  
When sending custom "QUOTE" commands to the remote server, one of the commands returned an error code that was 400 or higher (for FTP) or otherwise indicated unsuccessful completion of the command.
QuoteError  
The server does not support or accept range requests.
RangeError  
There was a problem reading a local file or an error returned by the read callback.
ReadError  
This constant means that some data is being downloaded from the network.
ReceivingData  
Failure with receiving network data.
RecvError  
We were denied access to the resource given in the URL.
RemoteAccessDenied  
Out of disk space on the server.
RemoteDiskFull  
RemoteFileExists  
The resource referenced in the URL does not exist.
RemoteFileNotFound  
Peer certificate cannot be authenticated with known CA certificates.
SSLCacert  
Problem with reading the SSL CA cert (path? access rights?).
SSLCacertBadFile  
Problem with the local client certificate.
SSLCertProblem  
Couldn't use specified cipher.
SSLCipher  
A problem occurred somewhere in the SSL/TLS handshake. You really want the error buffer and read the message there as it pinpoints the problem slightly more. Could be certificates (file formats, paths, permissions), passwords, and others.
SSLConnectError  
Failed to load CRL file.
SSLCrlBadfile  
Initiating the SSL Engine failed.
SSLEngineInitFailed  
The specified crypto engine wasn't found.
SSLEngineNotFound  
Failed setting the selected SSL crypto engine as default!
SSLEngineSetFailed  
Issuer check failed.
SSLIssuerError  
Failed to shut down the SSL connection.
SSLShutdownFailed  
Reflects that an object from one of the Net classes is trying to translate a host name to an IP address.
Searching  
Failed sending network data.
SendError  
When doing a send operation curl had to rewind the data to retransmit, but the rewinding operation failed.
SendFailRewind  
A constant for the Async property.
Synchronous  
Too many redirects. When following redirects, libcurl hit the maximum amount. Set your limit with CURLOPT_MAXREDIRS.
TooManyRedirects  
The URL was not properly formatted.
URLMalformat  
Failed to connect() to host or proxy.
UnableToConnect  
Couldn't resolve host. The given remote host was not resolved.
UnableToResolveHost  
Couldn't resolve proxy. The given proxy host could not be resolved.
UnableToResolveProxy  
Defines a local or Unix domain socket.
Unix  
The URL you passed to libcurl used a protocol that libcurl does not support. The support might be an unused compile-time option, it can be a misspelled protocol string or just a protocol libcurl has no code for.
UnsupportedProtocol  
Failed starting the upload. For FTP, the server typically denied the STOR command. The error buffer usually contains the server's explanation for this.
UploadFailed  
An error occurred when writing received data to a local file, or an error was returned to libcurl from a write callback.
WriteError