Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides
New in version: 5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2    Statistic  


Returns the result of the transaction as data file.

Component: CURL
Version: 2.5
Mac OS X: Yes
Windows: Yes
Server: Yes
FileMaker Cloud: Yes

MBS( "CURL.GetResultAsData"; Handle; Type { ; Filename } )


Parameter Description Example value
Handle The CURL session handle. $curl
Type The type the new data should have for FileMaker. See container functions. Typically "PDF " for pdf files, "FILE" for normal binary files and special codes for pictures like "JPEG". "FILE"
Filename Optional
The desired file name


A container value or empty on error.


Returns the result of the transaction as data file.
Make sure the data is in the format you tell FileMaker. FileMaker uses internally 4 letter codes to know what data is stored in containers and you need to pass a suitable type code.
Please note that types are always 4 characters long, "PDF " has a space on the end.
Version 5.2 and later can use the filename from URL if you don't provide one yourself.

See also

CURL.GetResultAsContainer   -   CURL.GetResultAsEmail

Feedback: Report problem or ask question.

MBS Real Studio Chart Plugins - Förderverein St. Arnulf Nickenich