Help

Table Of Contents
Sharing databases on a network
F
ILEMAKER PRO HELP 493
fmp://[[account:password@]netaddress]/databasename
Optional parameters are indicated by square brackets (“[ ]”).
To run a script in a shared database using a URL:
1. Follow the steps above.
2. Append ?script=scriptname to the URL. For example:
fmp://192.168.10.0/filename.fmp12?script=scriptname
Specify script parameters and local variables using the format:
fmp://[[account:password@]netaddress]/
databasename[?script=scriptname[&param=scriptparameter][&$variablename
=value]]
Notes
Filenames are case-sensitive. Script names are not case-sensitive.
The filename extension .fmp12 is not required.
You can define multiple variables in the same fmp: protocol.
If spaces or any other special characters are needed in a link, be sure to replace them with
the appropriate percent-encoded values required for valid URLs. For example, replace a
space with %20.
Examples
fmp://My%20Addresses
fmp://192.168.10.0/My%20Addresses.fmp12
fmp://[2001:0DB8:85A3:08D3:1319:8A2E:0370:7334]/My%20Addresses.fmp12
fmp://MyAccount:MyPassword@192.168.10.0/My%20Addresses.fmp12
fmp://MyAccount:MyPassword@[2001:0DB8:85A3:08D3:1319:8A2E:0370:7334]/
My%20Addresses.fmp12
Open a file named Clients.fmp12 on the host machine with an IP address of 192.168.10.0 with a
script named ListClients:
fmp://192.168.10.0/Clients.fmp12?script=ListClients
Open a file named Clients.fmp12 on the host machine with an IP address of 192.168.10.0 with a
script named ListClients, and specify a parameter of TopClients and a local variable $NumberToList
with a value of 10:
fmp://192.168.10.0/
Clients.fmp12?script=ListClients&param=TopClients&$NumberToList=10
Related topics
Closing shared files
Sending the URL of a shared database