Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

CURL.SetDebugWithProgress

Sets whether to include progress in debug messages.

Component Version macOS Windows Linux Server iOS SDK
CURL 6.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.SetDebugWithProgress"; curl; Value )   More

Parameters

Parameter Description Example
curl 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.

This must be set before you call CURL.Perform function, so CURL.GetDebugAsText will include progress entries in the 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.Release"; $curl)]

See also

Release notes

Example Databases

Blog Entries

Created 15th June 2016, last changed 30th October 2020


CURL.SetDebugWithData - CURL.SetDebugWithTime

Feedback: Report problem or ask question.