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.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

CURL.CloseDebugFile

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 )

Parameters

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

Examples

Close debug log file:

MBS("CURL.CloseDebugFile"; $curl)

See also


CURL.Cleanup   -   CURL.CloseHeaderFile

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos