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.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3    Statistic  

CURL.SetDebugWithProgress

Sets whether to include progress in debug messages.

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

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

Parameters

Parameter Description Example value
Handle The CURL session handle. $curl
Value The new setting.
Pass 1 to enable or 0 to disable.
1

Result

Returns OK or error.

Description

Sets whether to include progress in debug messages.
By default we don't include progress messages in log.

Examples

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


CURL.SetDebugWithData   -   CURL.SetDebugWithTime

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins