Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
CURL.SetOptionFileOnlyMode
Disables collecting data for Result functions.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| CURL | 2.6 | Yes | Yes | Yes | Yes | Yes |
MBS( "CURL.SetOptionFileOnlyMode"; curl; Value ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| curl | The CURL session handle. | $curl |
| Value | Whether to write data to files only and avoid storing data in memory. | 1 |
Result
Returns "OK" on success or error message.
Description
Disables collecting data for Result functions.If you create file with CURL.CreateOutputFile you may want to have data only in file and avoid filling memory with data for the result functions.
Do not call this method while a transfer is running.
Examples
Write data only to file:
MBS( "CURL.SetOptionFileOnlyMode"; $curl; 1 )
MBS( "CURL.CreateOutputFile"; $curl; "/tmp/download.dat" )
See also
Blog Entries
Created 18th August 2014, last changed 18th August 2014
CURL.SetOptionFailOnError - CURL.SetOptionFileTime
Feedback: Report problem or ask question.
Links
MBS FileMaker Plugins