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

Closes the header output file.

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

MBS( "CURL.CloseHeaderFile"; Handle )

Parameters

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

Result

Returns "OK" on success or error message.

Description

Closes the header output file.
To create file for header messages use CURL.CreateHeaderOutputFile 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 header file:

MBS("CURL.CloseHeaderFile"; $curl)

See also


CURL.CloseDebugFile   -   CURL.CloseInputFile

Feedback: Report problem or ask question.




Links
MBS FileMaker tutorial videos