Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
CURL.SetOptionUnixSocketPath
Set path to Unix domain socket.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "CURL.SetOptionUnixSocketPath"; curl; Path ) More
Parameters
Parameter | Description | Example |
---|---|---|
curl | The CURL session handle. | $curl |
Path | Native unix socket path. |
Result
Returns OK or error.
Description
Set path to Unix domain socket.This function requires a native path. Use Path.FileMakerPathToNativePath to convert a FileMaker path to a native path if required. If you like to have the user choose the path, you can use FileDialog functions.
For Server be aware that server has limited permissions and may not be able to access all files on a computer.
See also UNIX_SOCKET_PATH option in CURL manual.
See also
Created 15th April 2018, last changed 16th April 2018