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.CloseDebugFile

Closes the debug output file.

Component Version macOS Windows Linux Server iOS SDK
CURL 2.6 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.CloseDebugFile"; curl )   More

Parameters

Parameter Description Example
curl The CURL session handle. $curl

Result

Returns "OK" on success or error message.

Description

Closes the debug output file.
To create file for debug messages use CURL.CreateDebugOutputFile function.
The plugin closes files automatically when you call CURL.Release.
Do not call this method while a transfer is running.
In case close operation itself fails, the result is a number with the native file system error code.

Examples

Close debug log file:

MBS("CURL.CloseDebugFile"; $curl)

See also

Release notes

Blog Entries

Created 18th August 2014, last changed 19th April 2020


CURL.Check - CURL.CloseHeaderFile

Feedback: Report problem or ask question.