Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

CURL.CloseInputFile

Closes the input file.

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

Parameters

Parameter Description Example
curl The CURL session handle. $curl

Result

Returns "OK" on success or error message.

Description

Closes the input file.
To open file for reading data use CURL.OpenInputFile 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 input file:

MBS("CURL.CloseInputFile"; $curl)

See also

Release notes

Blog Entries

This function checks for a license.

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


CURL.CloseHeaderFile - CURL.CloseOutputFile