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.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Returns the result of the transaction as GIF image.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 3.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
curl | The CURL session handle. | $curl | |
Filename | The desired file name. | test.gif | Optional |
The result value which you can assign to a container field.
Load GIF image from URL:
# start new transfer
Set Variable [$curl; Value:MBS("CURL.New")]
# set URL
Set Variable [$r; Value:MBS("CURL.SetOptionURL"; $curl; "https://monkeybreadsoftware.com/filemaker/images/dynapdf.gif")]
# run transfer
Set Variable [$ErrorCode; Value:MBS("CURL.Perform"; $curl)]
# get result as GIF and store in field:
Set Variable [$Result; Value:MBS( "CURL.GetResultAsGIF"; $curl)]
Set Field [test::MyContainerField; $Result]
# get debug messages:
Set Variable [$DebugMessages; Value:MBS( "CURL.GetDebugAsText"; $curl)]
# cleanup
Set Variable [$r; Value:MBS("CURL.Release"; $curl)]
Created 18th August 2014, last changed 19th April 2020
CURL.GetResultAsEmail - CURL.GetResultAsJPEG
Feedback: Report problem or ask question.