Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
CURL.SetOptionVerbose
Whether to store log messages.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 2.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameters
Parameter | Description | Example |
---|---|---|
curl | The CURL session handle. | $curl |
Value | 0 to disable or 1 to enable | 1 |
Result
Returns "OK" on success.
Description
Whether to store log messages.Set the parameter to 1 to get curl to display a lot of verbose information about its operations.
Very useful protocol debugging and understanding. You can get the debug messages with CURL.GetDebugMessages.
Since version 5.2 of our plugin, this is on by default.
See CURL.SetDebugWithData, CURL.SetDebugWithProgress and CURL.SetDebugWithTime to include data/time in the debug log.
See also VERBOSE option in CURL manual.
Examples
Set verbose mode:
Set Variable [ $result ; Wert: MBS("CURL.SetOptionVerbose"; $curl; 1) ]
Download with debug log with full details:
Set Variable [$curl; Value:MBS("CURL.New")]
Set Variable [$result; Value:MBS("CURL.CreateDebugOutputFile"; $curl; "/tmp/curl.log")]
Set Variable [$result; Value:MBS("CURL.SetOptionURL"; $curl; "http://www.monkeybreadsoftware.com/images/mbs.jpg")]
Set Variable [$result; Value:MBS("CURL.SetDebugWithTime"; $curl; 1)]
Set Variable [$result; Value:MBS("CURL.SetDebugWithProgress"; $curl; 1)]
Set Field [CURL Test::Result; MBS("CURL.Perform"; $curl)]
Set Field [CURL Test::Image; MBS("CURL.GetResultAsJPEG"; $curl)]
Set Field [CURL Test::debug; MBS("CURL.GetDebugMessages"; $curl)]
Set Variable [$result; Value:MBS("CURL.Release"; $curl)]
See also
- CURL.SetOptionInterface
- CURL.SetOptionNoProxy
- CURL.SetOptionPassword
- CURL.SetOptionPostFields
- CURL.SetOptionPreProxy
- CURL.SetOptionQuote
- CURL.SetOptionReferer
- CURL.SetOptionResolve
- CURL.SetOptionURL
- CURL.SetOptionUserName
Example Databases
- CURL/CURL Check FileMaker Server
- CURL/CURL Download on Server
- CURL/CURL Send Form
- CURL/Email/IMAP Email Upload
- CURL/SFTP/CURL sFTP Operations
- CURL/SFTP/CURL sFTP Upload File
- CURL/SFTP/CURL sFTP Upload
- CURL/WebServices/AdobeSign WebService
- CURL/WebServices/TinyURL
- CURL/WebServices/Twitter oAuth
Blog Entries
- Upload email to Sent folder via IMAP
- Using NetVerify web service with FileMaker
- Using CURL with Rosette web service
- Translate PHP script with CURL to FileMaker Script
- CURL Tutorial for Filemaker with MBS Plugin
Created 18th August 2014, last changed 4th March 2023