Hi Neil,
I had to read your post a few times to understand what's going on. Your problem is an assumption you made. You assumed that by placing the Remote CLI's Phar archive in the path you can access it from anywhere. This is not exactly the case in Windows.
Let's say that you have installed PHP in c:\Program Files\PHP and you placed remote.phar in that directory. Assuming that you have placed that directory in your PATH, in order to run Remote CLI, you need to type a command like
php.exe "c:\Program Files\PHP\remote.phar" options
where
options is the list of command line switches you need to pass to Remote CLI. For example: [/code]php.exe "c:\Program Files\PHP\remote.phar" --action=test --host=http://www.example.com --secret=iloveakeeba[/code] to test the connection to the server.
If you have a firewall, you must also allow php.exe to be able to connect to the Internet. Most software firewalls have an "interactive mode". If you enable it, as soon as Remote CLI tries to connect to the remote server the firewall will prompt you if you want to allow connection to the Internet for php.exe. Just say yes.
Nicholas K. Dionysopoulos
Lead Developer and Director
🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!