Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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
- CURL.CloseHeaderFile
- CURL.CloseInputFile
- CURL.CloseOutputFile
- CURL.CreateDebugOutputFile
- CURL.Release
Release notes
- Version 9.4
- Fixed a bug in CURL.CloseDebugFile, CURL.CloseHeaderFile, CURL.CloseInputFile and CURL.CloseOutputFile to avoid.
Blog Entries
This function checks for a license.
Created 18th August 2014, last changed 19th April 2020