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.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


Closes the debug output file.

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

MBS( "CURL.CloseDebugFile"; Handle )


Parameter Description Example value
Handle The CURL session handle. $curl


Returns "OK" on success or error message.


Closes the debug output file.
To create file for debug messages use CURL.CreateDebugOutputFile function.
The plugin closes files automatically when you call CURL.Cleanup.
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.


Close debug log file:

MBS("CURL.CloseDebugFile"; $curl)

See also

CURL.Cleanup   -   CURL.CloseHeaderFile

Feedback: Report problem or ask question.

MBS Xojo blog