Opening files using a URL
The FileMaker Pro installer registers fmp: as an Internet Protocol (IP). This enables you to open a shared or local file using a URL. You can also run a script in the file using a URL.
To open a file using a URL:
1.
2.
fmp://{{account:password@}address/}filename
For address, you can enter:
 •
 •
~ to specify the user’s Documents folder
 •
$ to specify that the file is already open
Optional parameters are indicated by braces ({ }).
To run a script in a file using a URL:
1.
2.
Append ?script=scriptname to the URL. For example:
fmp://192.168.10.0/filename.fmp12?script=scriptname
Specify a script parameter and local variables using the format:
fmp://{{account:password@}address/}filename{?script=scriptname{&param=scriptparameter}{&$variablename{[repetitionnumber]}=value}}
Notes
 •
 •
 •
 •
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
Open a local file named Clients.fmp12 in the user’s Documents folder with a script named ListClients:
fmp://~/Clients.fmp12?script=ListClients
Run the script ListClients from an open file named Clients.fmp12:
fmp://$/Clients.fmp12?script=ListClients
Related topics 
Opening files as the host
Sending the URL of a shared file