Skip to main content

TURL_SetProxy (function reference)

By October 1, 2021October 13th, 2021Online Help, Troi URL plug-in
Troi URL Plug-in for FileMaker Pro


Sets an explicit proxy server to be used, via which the data is sent to the web server.

SyntaxFunction badge

TURL_SetProxy ( switches ; proxyAddress ; proxyPortNr ; proxyUserName;
                proxyPassword )


switches not used, reserved for future use. Leave blank or put "-unused"
proxyAddress the IP address of the proxy server
proxyPortNr (optional) the portnr of the proxy server
proxyUserName (optional) the user name to be sent as authentication to the proxy server
proxyPassword (optional) the password to be sent as authentication to the proxy server

Returned Result

Data type returned

Error code


If successful this function returns 0. If unsuccessful it returns an error code starting with $$ followed by the error code.

At the moment this function does not return errors.

Originated in

Troi URL Plug-in 1.8.2


FileMaker Pro 16 to 19


If you don’t use this function the system settings for proxies will be used.
You can reset the proxy by specifying an empty proxyAddress string. The systems settings will be used then.

Some proxy servers require authentication, which you can supply with the optional proxyUserName and proxyPassword parameters.


TURL_SetProxy ( "-unused" ; "" ; 1234 )

This sets the proxy to the server at at port 1234.

Example 2

Set Field [ gErrorCode ; TURL_SetProxy ("-unused" ; "" ; 8000 ) ]

This sets the proxy to the server at address “” and port 8000.

Set Field [ gErrorCode ; TURL_SetProxy ( "-unused" ; "" ) ]

This resets the proxy setting. The plug-in will use the system settings for proxies.

Related functionsFunction badge


Related topics

Troi URL Plug-in online help (overview)

Online Help Page for Troi URL Plug-in for 16 to 19 –> TURL_SetProxy (urlp4411) 2021-1013 16:36:35