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.LoadLibrary
Loads a custom CURL library.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| CURL | 10.2 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| Path | The native path to the library file. e.g. DLL for windows, dylib for MacOS and so for Linux. Pass emtpy path to load internal library. |
"/Users/cs/Desktop/libcurl.dylib" |
Result
Returns OK or error.
Description
Loads a custom CURL library.If you need a different CURL library, e.g. one supporting HTTP/2 or Keberos authentication, you can load the native library here.
Examples
Load system CURL library on MacOS:
Show Custom Dialog [ "CURL Version before" ; MBS( "CURL.Version" ) ]
Set Variable [ $r ; Value: MBS( "CURL.LoadLibrary"; "/usr/lib/libcurl.4.dylib" ) ]
Show Custom Dialog [ "CURL loaded" ; $r ]
Show Custom Dialog [ "CURL Version after" ; MBS( "CURL.Version" ) ]
Load system CURL library on Linux:
Set Variable [ $r ; Value: MBS( "CURL.LoadLibrary"; "/usr/lib64/libcurl.so.4" ) ]
Show Custom Dialog [ "CURL loaded" ; $r ]
See also
Blog Entries
- News about the MBS FileMaker Plugin 10.2
- Neues MBS FileMaker Plugin 10.2
- MBS FileMaker Plugin 10.2 - More than 6200 Functions In One Plugin
- MBS FileMaker Plugin, version 10.2pr4
Release notes
- Version 10.2
- Added CURL.LoadLibrary function to load custom CURL library.
Created 19th April 2020, last changed 20th April 2020
Feedback: Report problem or ask question.
Links
MBS FileMaker Plugins