Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items Next items

CURLSMBS.GetInfoContentLengthUpload as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 9.8 Yes Yes Yes Yes No
Function: The specified size of the upload.
Notes: The Lasterror property is set. 0 for success.

Feedback, Comments & Corrections

CURLSMBS.GetInfoContentType as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 9.8 Yes Yes Yes Yes No
Function: The content-type of the downloaded object.
Notes:
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.

Feedback, Comments & Corrections

CURLSMBS.GetInfoCookieList as CURLSListMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 9.8 Yes Yes Yes Yes No
Function: A linked-list of all cookies CURL knows (expired ones, too).
Notes:
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.

Feedback, Comments & Corrections

CURLSMBS.GetInfoEffectiveURL as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 9.8 Yes Yes Yes Yes No
Function: The last used effective URL.
Notes: The Lasterror property is set. 0 for success.

Feedback, Comments & Corrections

CURLSMBS.GetInfoFileTime as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 9.8 Yes Yes Yes Yes No
Function: the remote time of the retrieved document (in number of seconds since 1 jan 1970 in the GMT/UTC time zone).
Example:
// init CURL with options
dim d as new CURLSMBS
d.OptionFileTime = true
d.OptionURL = "http://www.monkeybreadsoftware.de/images/mbs.jpg"

// run query
dim e as Integer = d.Perform

// calculate date object
dim da as new date(1970,1,1,0,0,0)
da.TotalSeconds = da.TotalSeconds + d.GetInfoFileTime

// show date
ResultText.text=str(d.GetInfoFileTime)+" "+da.ShortDate+" "+da.ShortTime
Notes:
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)

Feedback, Comments & Corrections

CURLSMBS.GetInfoFTPEntryPath as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 15.2 Yes Yes Yes Yes No
Function: Returns a string holding the path of the entry path.
Notes:
That is the initial path libCURL ended up in when logging on to the remote FTP server.
Empty string if unknown.

Feedback, Comments & Corrections

CURLSMBS.GetInfoHeaderSize as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 9.8 Yes Yes Yes Yes No
Function: The total size of all the headers received.
Notes: The Lasterror property is set. 0 for success.

Feedback, Comments & Corrections

CURLSMBS.GetInfoHTTPAuthAvail as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 9.8 Yes Yes Yes Yes No
Function: A bitmask indicating the authentication method(s) available.
Notes:
The Lasterror property is set. 0 for success.
The meaning of the bits is explained in the HTTPAuth option.

Feedback, Comments & Corrections

CURLSMBS.GetInfoHTTPConnectCode as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 9.8 Yes Yes Yes Yes No
Function: The last received proxy response code to a CONNECT request.
Notes:
The Lasterror property is set. 0 for success.
none

Feedback, Comments & Corrections

CURLSMBS.GetInfoHTTPVersion as integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 18.2 Yes Yes Yes Yes No
Function: Get the http version used in the connection.
Notes: 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.

Feedback, Comments & Corrections

CURLSMBS.GetInfoLastSocket as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 15.2 Yes Yes Yes Yes No
Function: Receive the last socket used by this CURL session.
Notes:
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.

Feedback, Comments & Corrections

CURLSMBS.GetInfoLocalIP as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 15.2 Yes Yes Yes Yes No
Function: Queries local IP.
Example:
dim c as new CURLSMBS

// do some transfer
c.OptionURL = "http://www.mbsplugins.de/"
dim e as Integer = c.perform

// now check local IP
MsgBox c.GetInfoLocalIP

Feedback, Comments & Corrections

CURLSMBS.GetInfoLocalPort as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 15.2 Yes Yes Yes Yes No
Function: Return the local port of the most recent (primary) connection.
Example:
dim c as new CURLSMBS

// do some transfer
c.OptionURL = "http://www.mbsplugins.de/"
dim e as Integer = c.perform

// now check local IP and port
MsgBox c.GetInfoLocalIP+":"+str(c.GetInfoLocalPort)

Feedback, Comments & Corrections

CURLSMBS.GetInfoNameLookupTime as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 9.8 Yes Yes Yes Yes No
Function: The time, in seconds, it took from the start until the name resolving was completed.
Notes: The Lasterror property is set. 0 for success.

Feedback, Comments & Corrections

CURLSMBS.GetInfoNumConnects as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 9.8 Yes Yes Yes Yes No
Function: How many new connections libCURL had to create to achieve the previous transfer.
Notes:
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.

Feedback, Comments & Corrections

CURLSMBS.GetInfoOSErrno as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 9.8 Yes Yes Yes Yes No
Function: The errno variable from a connect failure.
Notes: The Lasterror property is set. 0 for success.

Feedback, Comments & Corrections

CURLSMBS.GetInfoPreTransferTime as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 9.8 Yes Yes Yes Yes No
Function: The time, in seconds, it took from the start until the file transfer is just about to begin.
Notes:
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.

Feedback, Comments & Corrections

CURLSMBS.GetInfoPrimaryIP as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 15.2 Yes Yes Yes Yes No
Function: Return the ip address of the most recent (primary) connection.
Example:
dim c as new CURLSMBS

// do some transfer
c.OptionURL = "http://www.mbsplugins.de/"
dim e as Integer = c.perform

// now check primary IP and port
MsgBox c.GetInfoPrimaryIP+":"+str(c.GetInfoPrimaryport)

Feedback, Comments & Corrections

CURLSMBS.GetInfoPrimaryPort as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 15.2 Yes Yes Yes Yes No
Function: Return the (remote) port of the most recent (primary) connection.
Example:
dim c as new CURLSMBS

// do some transfer
c.OptionURL = "http://www.mbsplugins.de/"
dim e as Integer = c.perform

// now check primary IP and port
MsgBox c.GetInfoPrimaryIP+":"+str(c.GetInfoPrimaryport)

Feedback, Comments & Corrections

CURLSMBS.GetInfoProtocol as integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 18.2 Yes Yes Yes Yes No
Function: Get the protocol used in the connection.
Notes: See kProtocol* constants.

Feedback, Comments & Corrections

CURLSMBS.GetInfoProxyAuthAvail as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 9.8 Yes Yes Yes Yes No
Function: A bitmask indicating the authentication method(s) available for your proxy authentication.
Notes: The Lasterror property is set. 0 for success.

Feedback, Comments & Corrections

CURLSMBS.GetInfoProxySSLVerifyResult as integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 18.2 Yes Yes Yes Yes No
Function: Get the result of the proxy certificate verification.
Notes: receive the result of the certificate verification that was requested (using the OptionProxySSLVerifyPeer option. This is only used for HTTPS proxies.

Feedback, Comments & Corrections

CURLSMBS.GetInfoRedirectCount as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 9.8 Yes Yes Yes Yes No
Function: The total number of redirections that were actually followed.
Notes: The Lasterror property is set. 0 for success.

Feedback, Comments & Corrections

CURLSMBS.GetInfoRedirectTime as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 9.8 Yes Yes Yes Yes No
Function: the total time, in seconds, it took for all redirection steps include name lookup, connect, pretransfer and transfer before final transaction was started.
Notes:
The Lasterror property is set. 0 for success.
RedirectTime contains the complete execution time for multiple redirections. (Added in 7.9.7)

Feedback, Comments & Corrections

CURLSMBS.GetInfoRedirectURL as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 15.2 Yes Yes Yes Yes No
Function: The redirection URL.

Feedback, Comments & Corrections

CURLSMBS.GetInfoRequestSize as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 9.8 Yes Yes Yes Yes No
Function: The total size of the issued requests.
Notes:
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.

Feedback, Comments & Corrections

CURLSMBS.GetInfoResponseCode as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 9.8 Yes Yes Yes Yes No
Function: The last received HTTP or FTP code.
Notes:
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.

Feedback, Comments & Corrections

CURLSMBS.GetInfoRTSPClientCSEQ as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 15.2 Yes Yes Yes Yes No
Function: Query RTSP Client sequence counter.

Feedback, Comments & Corrections

CURLSMBS.GetInfoRTSPCSEQRecv as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 15.2 Yes Yes Yes Yes No
Function: Query RTSP sequence counter received.

Feedback, Comments & Corrections

CURLSMBS.GetInfoRTSPServerCSEQ as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 15.2 Yes Yes Yes Yes No
Function: Query RTSP Server sequence counter.

Feedback, Comments & Corrections

Previous items Next items

The items on this page are in the following plugins: MBS CURL Plugin.




Links
MBS Xojo Plugins