So I must have FileMaker Server to run the FMP protocol?!
No, you just need to have installed FileMaker on the computer.
The file you want to reference must either be on THAT machine, or open with peer-to-peer sharing on your network OR open with a server either on your network or anywhere outside the building that you can reach.
There are special replacements in the url string for already open files and files in the documents folder, but otherwise you use an IP of FQDN
All the is happening is that the amp url schema is registered on your machine so that a browser knows how to process the URL by redirecting it to FileMaker.
your url look wrong, try "FMP://admin:firstname.lastname@example.org:1200/Order.fmp12?script=RM"
If memory serves well, the first versions of FileMaker Pro/Adv had an issue with the url-protocoll on local files - so check Your version (13.0?)
I have tried with all the above suggstions but still unable to get it working. Let me make clearer my issues and hopefully to get some help here.
1.) I have Filemaker Pro Advanced 13.0v3 installed on the B computer, which is running on a web server using XAMPP
2.) The remote file with the scriptname "RM" is stored under the C:\Xampp\Htdocs\Fm\Order.fmp12 in the B computer
3.) I don't have any FM Server. The FileMaker Pro Advanced 13.0v3 is being installed on both A and B computers
4.) Inside the A computer, I have a script to call the remote file in the B computer, which is the Order.fmp12 as mentioned in #2
5.) The script that I use in computer A to call the required script in the remote file in the B computer is
6.) The IP for the web server is 126.96.36.199 and port 1200 is used to point to the B computer through the router. This IP is a fixed IP supplied by the SDSL line
Basically, the return of the error just states that Host not found or File not found on host!!
I tried using Fm Go with my Ipad but the result still the same, error!
I hope the above information is clear enough for all the experts here to provide me with the correct assistance.
Thanks in advance to all
- Not sure if that works with a port. FM Pro uses port 5003
- since You are talking to a file already opened by FM, don't specify the directory, specify just the file
- not sure if it's case sensitive.. I would use 'fmp' anyways
The version should be ok, according to Tony White's paper
You seem to be misunderstanding the whole thing..
the FMP URL can 'open' a file (as in switch to, and then optionally run a script) that is in your own documents folder, that is open but minimised, or IS OPEN on another machine. It is not a way of remotely opening a file on another machine if it is not already hosted and open or open with per-to-peer.
You need Filemaker on your other machine to be running, not a web server. This is not a protocol to open file in a remote folder.
Most of the detailed information you gave will not help anyone to open the file, or you. Open the File on the B computer with FileMaker Pro or Server, and then try the url strings you were given... which will not include the /Fm/ part of the path. You need to make sure that network sharing is turned on, on the B computer and that the file is also shared under the File:Sharing part of the main menus.
OK. I will first change the Captial Letters FMP to fmp. Then I will make sure the file (order.fmp12) is opened in the B computer and use the script below:
also make sure the file is opened for sharing.
Hope this is correct. Will update the outcome as soon as I try it
Got it running on a local area network!! Thanks a bunch!
However, still unable to get it running over the sdsl line with the port 1200....
Any ideas guy?
I am unable to point directly to the B Computer because this is an open network and it needs to go through the router, in which the router will forward port 1200 to point to the B Computer.
Also, if I do not have the remote file opened, can I still run the script inside the file?
Router listening on 1200 is ok that URL can specify it, but B Computer listen on 5003, this is not changeable. Is the router configured as so?
You can't run script from closed file.
OK. I will try to add another port 5003 to have it point to B computer and let you all know
Wish me luck and thanks a bunch~
Sorry for taking so long, been traveling a lot lately. Just to inform everyone, yes, once I configured the router to default port 5003 to point to computer B, it works like a charm.
I tried it using the IPAD to run the script from the file in computer B, and it works like a local area hosting.
The only thing matters, the FM file in the computer B must be already opened in order for the file from the IPAD to access. From here, we can do the synchronization by calling the scripts from either file in the computer B, or file from the IPAD.
Thank you everyone for helping and especially for pointing out the port number~!