Platforms to show: All Mac Windows Linux Cross-Platform
Back to CURLSMBS class.
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CURL | MBS CURL Plugin | 13.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Especially when using PerformMT, you may see your app hang if user tries to quit application. To prevent the hang, please set Cancel = true in window close event. So when app quits and windows get destroyed, the PerformMT will see the Cancel being true and returns soon.
(Read and Write property)
CURLSMBS.CollectDebugData as Boolean Deprecated
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CURL | MBS CURL Plugin | 12.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If you set this property to true, you can grab the data from the transfer in the DebugMessages Property instead of collecting the pieces yourself in the DebugMessage event. Of course this is optional and you can still process data in DebugMessage event.
Due to memory limitation, collecting data will not work right if your app is running low on memory.
(Read and Write property)
CURLSMBS.CollectDebugMessages as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CURL | MBS CURL Plugin | 23.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If you set this property to true, you can grab the data from the transfer in the DebugMessages Property instead of collecting the pieces yourself in the DebugMessage event. Of course this is optional and you can still process data in DebugMessage event.
Due to memory limitation, collecting data will not work right if your app is running low on memory.
(Read and Write property)
Some examples using this property:
- /CURL/CURL Mime
- /CURL/CURLS picture download
- /CURL/CURLS pop3 email delete
- /CURL/Google Mail/CURLS imap for google mail
- /CURL/Multi Transfer
- /CURL/Send Email/Send Email in Background async
- /CURL/SFTP/CURLS sftp batch download
- /CURL/SFTP/CURLS sftp batch upload
- /CURL/SFTP/CURLS sftp rename file
- /CURL/SFTP/CURLS sftp rename file batch
CURLSMBS.CollectHeaderData as Boolean Deprecated
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CURL | MBS CURL Plugin | 12.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If you set this property to true, you can grab the data from the transfer in the Headers Property instead of collecting the pieces yourself in the header event. Of course this is optional and you can still process data in header event.
Due to memory limitation, collecting data will not work right if your app is running low on memory.
Renamed to CollectHeaders in v23.0.
(Read and Write property)
CURLSMBS.CollectHeaders as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CURL | MBS CURL Plugin | 23.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If you set this property to true, you can grab the data from the transfer in the Headers Property instead of collecting the pieces yourself in the header event. Of course this is optional and you can still process data in header event.
Due to memory limitation, collecting data will not work right if your app is running low on memory.
(Read and Write property)
Some examples using this property:
CURLSMBS.CollectOutputData as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CURL | MBS CURL Plugin | 12.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If you set this property to true, you can grab the data from the transfer in the OutputData Property instead of collecting the pieces yourself in the write event. Of course this is optional and you can still process data in write event.
Due to memory limitation, collecting data will not work right if your app is running low on memory.
(Read and Write property)
Some examples using this property:
- /CURL/CURL Mime
- /CURL/CURLS Amazon S3 download
- /CURL/CURLS get and put/CURLS get and put
- /CURL/CURLS post form values/CURLS post form values old
- /CURL/CURLS simple download compressed
- /CURL/Receive Email/CURLS email client
- /CURL/Receive Email/CURLS pop3 email download
- /CURL/SFTP/CURLS sftp directory listing
- /CURL/SFTP/CURLS sftp rename file batch
- /CURL/WebServices/CURL post Twilio Verification - iOS
CURLSMBS.DebugData as String Deprecated
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CURL | MBS CURL Plugin | 12.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If CollectDebugData property is true, the plugin puts the data received in debugMessage event also into this property, so you can grab it after the transfer.
Newer code should use DebugMessages property instead.
(Read only property)
CURLSMBS.DebugMessages as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CURL | MBS CURL Plugin | 23.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If CollectDebugMessage property is true, the plugin puts the data received in debugMessage event also into this property, so you can grab it after the transfer.
(Read only property)
CURLSMBS.DebugWithData as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CURL | MBS CURL Plugin | 18.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read and Write property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CURL | MBS CURL Plugin | 9.8 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read and Write property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CURL | MBS CURL Plugin | 12.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If CollectHeaders property is true, the plugin puts the data received in header event also into this property, so you can grab it after the transfer.
Renamed to Headers in v23.0.
(Read only property)
CURLSMBS.Headers as String Deprecated
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CURL | MBS CURL Plugin | 23.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If CollectHeaders property is true, the plugin puts the data received in header event also into this property, so you can grab it after the transfer.
(Read only property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CURL | MBS CURL Plugin | 14.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If you set input data, you do not need to use Read, RestartRead or Seek events.
The plugin will use the provided data for the upload.
Setting input data size, will also set the input file size (OptionInFileSizeLarge and OptionInFileSize).
Alternatively you can provide data in Read event or use OpenMTInputFile method to open a file on disk to upload.
(Read and Write property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CURL | MBS CURL Plugin | 9.8 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Set in the constructor while doing initialization as well as by by various curl calls.
Check the kError* constants.
(Read and Write property)
CURLSMBS.LastErrorMessage as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CURL | MBS CURL Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The error message from the transfer.
e.g. Perform may report a timeout with code 28.
Then LasterrorText is "Timeout was reached" looked up for 28.
But LasterrorMessage would be something like "Failed to connect to x.x.x.x port 80 after 5000 ms: Timeout was reached".
(Read only property)
CURLSMBS.LasterrorText as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CURL | MBS CURL Plugin | 18.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Static string matched to the error code, so you have an idea what's wrong.
e.g. Perform may report a timeout with code 28.
Then LasterrorText is "Timeout was reached" looked up for 28.
But LasterrorMessage would be something like "Failed to connect to x.x.x.x port 80 after 5000 ms: Timeout was reached".
(Read and Write property)
Some examples using this property:
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CURL | MBS CURL Plugin | 18.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
You can set it to true while transfer runs to pause it.
(Read and Write property)
CURLSMBS.ProgressDownloadCurrent as Int64
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CURL | MBS CURL Plugin | 15.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read only property)
CURLSMBS.ProgressDownloadTotal as Int64
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CURL | MBS CURL Plugin | 15.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read only property)
CURLSMBS.ProgressPercent as Double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CURL | MBS CURL Plugin | 15.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Range from 0 to 100.
(Read only property)
Some examples using this property:
CURLSMBS.ProgressUploadCurrent as Int64
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CURL | MBS CURL Plugin | 15.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read only property)
CURLSMBS.ProgressUploadTotal as Int64
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CURL | MBS CURL Plugin | 15.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read only property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CURL | MBS CURL Plugin | 23.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
You can store whatever reference value you need.
(Read and Write property)
CURLSMBS.WebSocketOptions as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CURL | MBS CURL Plugin | 23.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Pass a bitmask to tell libcurl about specific WebSocket behaviors.
To detach a WebSocket connection and use the WebSocketSend and WebSocketReceive functions after the HTTP upgrade procedure, set the OptionConnectOnly option to 2.
Available bits in the bitmask:
kWebSocketRaw:
Deliver "raw" WebSocket traffic to the Write event.
In raw mode, libcurl does not handle pings or any other frame for the application.
(Read and Write property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CURL | MBS CURL Plugin | 9.8 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If set the plugin will yield time to Xojo back so threads and timers work while you download.
Seems like in RB 2009 this property only has effect if you run CURL in a thread.
(Read and Write property)
Some examples using this property:
- /CURL/CURL Mime
- /CURL/CURLS pop3 email delete
- /CURL/CURLS preemptive threaded download
- /CURL/CURLS resume download
- /CURL/CURLS threaded download
- /CURL/FTP/CURLS ftp file upload with thread
- /CURL/Receive Email/CURLS email client
- /CURL/Receive Email/CURLS pop3 email download
- /CURL/Send Email/MassEmailer
- /CURL/Send Email/older examples/CURLS send email with SSL
The items on this page are in the following plugins: MBS CURL Plugin.