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.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
CURL.SetDebugWithProgress
Sets whether to include progress in debug messages.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| CURL | 6.3 | Yes | Yes | Yes | Yes | Yes |
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
- CURL.CreateDebugOutputFile
- CURL.GetDebugAsText
- CURL.GetDebugWithProgress
- CURL.GetResultAsJPEG
- CURL.New
- CURL.Perform
- CURL.Release
- CURL.SetDebugWithTime
- CURL.SetOptionURL
- CURL.SetOptionVerbose
Example Databases
Blog Entries
- MBS FileMaker Plugin, version 10.3pr8
- Debugging problems on FileMaker Cloud for AWS
- MBS FileMaker Plugin, version 8.3pr6
- MBS FileMaker Plugin, version 6.3pr3
Release notes
- Version 10.3
- Changed CURL debug output with progress using CURL.SetDebugWithProgress to not show upload and download progress if you are only downloading or uploading.
- Version 8.3
- Fixed crash with CURL.SetDebugWithProgress if not logging to file.
Created 15th June 2016, last changed 30th October 2020
CURL.SetDebugWithData - CURL.SetDebugWithTime
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins