Opening shared databases remotely using a URL
The FileMaker Pro installer registers fmp: as an internet protocol. This enables you to open a shared database using a URL. You can also run a script in the shared file using a URL.
FileMaker Pro databases shared via TCP/IP can be opened remotely using the list of local hosts, the IP address of the host machine, or the DNS name of the host machine if one has been defined. For example, a database hosted from a computer can be opened by entering any of the following in the File menu > Open Remote > Network File Path field:
 •
 •
an IPv6 address, for example, [2001:0DB8:85A3:08D3:1319:8A2E:0370:7334]
 •
To open a shared database using a URL:
1.
2.
fmp://[[account:password@]netaddress]/databasename
Optional parameters are indicated by square brackets (“[ ]”).
To run a script in a shared database using a URL:
1.
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
 •
 •
 •
 •
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