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

CURL.CloseInputFile

Closes the input file.

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

MBS( "CURL.CloseInputFile"; Handle )

Parameters

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

MBS("CURL.CloseInputFile"; $curl)

See also


CURL.CloseHeaderFile   -   CURL.CloseOutputFile

Feedback: Report problem or ask question.




Links
MBS Xojo blog