Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

CURL.SetOptionVerbose

Whether to store log messages.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CURL 2.5 Yes Yes Yes Yes Yes

MBS( "CURL.SetOptionVerbose"; Handle; Value )

Parameters

Parameter Description Example value
Handle 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.GetDebugAsText.

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.

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.de/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.GetDebugAsText"; $curl)]
Set Variable [$result; Value:MBS("CURL.Cleanup"; $curl)]

See also

Example Databases


CURL.SetOptionUsername   -   CURL.SetOptionWildCardMatch

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins