Platforms to show: All Mac Windows Linux Cross-Platform
Back to CURLSMBS class.
CURLSMBS.GetInfoActiveSocket as integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 18.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If the socket is no longer valid, -1 is returned. When you finish working with the socket, the Destructor closes the socket and cleanup other resources associated with the handle. This is typically used in combination with OptionConnectOnly.
This option was added as a replacement for GetInfoLastSocket since that one isn't working on all platforms.
CURLSMBS.GetInfoAppConnectTime as Double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 15.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
CURLSMBS.GetInfoCAInfo as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 22.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
CURLSMBS.GetInfoCAPath as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 22.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
CURLSMBS.GetInfoCertInfo as CURLSListMBS()
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 15.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Please set OptionCertInfo first.
CURLSMBS.GetInfoConditionUnmet as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 15.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
CURLSMBS.GetInfoConnectTime as Double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 9.8 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The Lasterror property is set. 0 for success.
CURLSMBS.GetInfoContentLengthDownload as Double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 9.8 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The Lasterror property is set. 0 for success.
This is the value read from the Content-Length: field.
Some examples using this method:
CURLSMBS.GetInfoContentLengthUpload as Double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 9.8 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The Lasterror property is set. 0 for success.
CURLSMBS.GetInfoContentType as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 9.8 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The Lasterror property is set. 0 for success.
This is the value read from the Content-Type: field. If you get "", it means that the server didn't send a valid Content-Type header or that the protocol used doesn't support this.
Some examples using this method:
CURLSMBS.GetInfoCookieList as CURLSListMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 9.8 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The Lasterror property is set. 0 for success.
If there are no cookies (cookies for the handle have not been enabled or simply none have been received) the result is nil.
CURLSMBS.GetInfoEarlyDataSent as integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
TLS early data is only attempted when kSSLOptionEarlyData is set for the transfer. In addition, it is only used by libcurl when a TLS session exists that announces support.
The amount is negative when the sent data was rejected by the server. TLS allows a server that announces support for early data to reject any attempt to use it at its own discretion. When for example 127 bytes had been sent, but were rejected, it reports -127 as the amount "sent".
CURLSMBS.GetInfoEffectiveMethod as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 20.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
In cases when you've asked libcurl to follow redirects, the method may very well not be the same method the first request would use.
CURLSMBS.GetInfoEffectiveURL as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 9.8 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The Lasterror property is set. 0 for success.
CURLSMBS.GetInfoFileTime as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 9.8 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The Lasterror property is set. 0 for success.
If you get -1, it can be because of many reasons (unknown, the server hides it or the server doesn't support the command that tells document time etc) and the time of the document is unknown. Note that you must tell the server to collect this information before the transfer is made, by using the OptionFileTime option or you will unconditionally get a -1 back. (Added in 7.5)
CURLSMBS.GetInfoFTPEntryPath as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 15.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
That is the initial path libCURL ended up in when logging on to the remote FTP server.
Empty string if unknown.
CURLSMBS.GetInfoHeaderSize as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 9.8 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The Lasterror property is set. 0 for success.
CURLSMBS.GetInfoHTTPAuthAvail as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 9.8 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The Lasterror property is set. 0 for success.
The meaning of the bits is explained in the HTTPAuth option.
CURLSMBS.GetInfoHTTPConnectCode as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 9.8 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The Lasterror property is set. 0 for success.
CURLSMBS.GetInfoHTTPVersion as integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 18.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The returned value will be kHTTP_VERSION_1_0, kHTTP_VERSION_1_1, or kHTTP_VERSION_2_0, or 0 if the version can't be determined.
CURLSMBS.GetInfoLastSocket as Integer Deprecated
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 15.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If the socket is no longer valid, -1 is returned. When you finish working with the socket, the destructor will free the handle as usual and let libCURL close the socket and cleanup other resources associated with the handle. This is typically used in combination with OptionConnectOnly. (Added in 7.15.2)
NOTE: this API is not really working on win64, since the SOCKET type on win64 is 64 bit large while its 'long' is only 32 bits.
CURLSMBS.GetInfoLocalIP as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 15.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
CURLSMBS.GetInfoLocalPort as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 15.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
CURLSMBS.GetInfoNameLookupTime as Double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 9.8 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The Lasterror property is set. 0 for success.
CURLSMBS.GetInfoNumConnects as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 9.8 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The Lasterror property is set. 0 for success.
(only the successful connects are counted)
Combined with RedirectCount you are able to know how many times libCURL successfully reused existing connection(s) or not. See the Connection Options to see how libCURL tries to make persistent connections to save time.
CURLSMBS.GetInfoOSErrno as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 9.8 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The Lasterror property is set. 0 for success.
CURLSMBS.GetInfoPreTransferTime as Double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 9.8 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The Lasterror property is set. 0 for success.
This includes all pre-transfer commands and negotiations that are specific to the particular protocol(s) involved.
CURLSMBS.GetInfoPrimaryIP as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 15.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
CURLSMBS.GetInfoPrimaryPort as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 15.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
CURLSMBS.GetInfoProtocol as integer Deprecated
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 18.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See kProtocol* constants.
CURLSMBS.GetInfoProxyAuthAvail as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 9.8 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The Lasterror property is set. 0 for success.
CURLSMBS.GetInfoProxyError as integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 20.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
CURLSMBS.GetInfoProxySSLVerifyResult as integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 18.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
receive the result of the certificate verification that was requested (using the OptionProxySSLVerifyPeer option. This is only used for HTTPS proxies.
CURLSMBS.GetInfoRedirectCount as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 9.8 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The Lasterror property is set. 0 for success.
CURLSMBS.GetInfoRedirectTime as Double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 9.8 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The Lasterror property is set. 0 for success.
RedirectTime contains the complete execution time for multiple redirections. (Added in 7.9.7)
CURLSMBS.GetInfoRedirectURL as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 15.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
CURLSMBS.GetInfoReferer as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 21.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
CURLSMBS.GetInfoRequestSize as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 9.8 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The Lasterror property is set. 0 for success.
This is so far only for HTTP requests. Note that this may be more than one request if FOLLOWLOCATION is true.
CURLSMBS.GetInfoResponseCode as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 9.8 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The Lasterror property is set. 0 for success.
This will be zero if no server response code has been received. Note that a proxy's CONNECT response should be read with GetInfoHTTPConnectCode and not this.
With HTTP transfer, a successful transfer reports 200 here. If the page is not found, you get 404. Or any other HTTP Response code.
Some examples using this method:
CURLSMBS.GetInfoRetryAfter as integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 20.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Receive the number of seconds the HTTP server suggesets the client should wait until the next request is issued.
The information from the "Retry-After:" header.
While the HTTP header might contain a fixed date string, the RetryAfter will always return number of seconds to wait - or zero if there was no header or the header couldn't be parsed.
CURLSMBS.GetInfoRTSPClientCSEQ as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 15.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
CURLSMBS.GetInfoRTSPCSEQRecv as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 15.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
CURLSMBS.GetInfoRTSPServerCSEQ as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 15.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
CURLSMBS.GetInfoRTSPSessionID as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 15.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
CURLSMBS.GetInfoScheme as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 18.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
CURLSMBS.GetInfoSizeDownload as Double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 9.8 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The Lasterror property is set. 0 for success.
The amount is only for the latest transfer and will be reset again for each new transfer.
Some examples using this method:
CURLSMBS.GetInfoSizeUpload as Double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 9.8 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The Lasterror property is set. 0 for success.
CURLSMBS.GetInfoSpeedDownload as Double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 9.8 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The Lasterror property is set. 0 for success.
CURLSMBS.GetInfoSpeedUpload as Double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CURL | MBS CURL Plugin | 9.8 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The Lasterror property is set. 0 for success.
The items on this page are in the following plugins: MBS CURL Plugin.