I would like to let my PHP Controller (Laravel 5.5) send a command to a C# program (that i wrote myself) to execute a function on the click of a button on my page.
To clairify:
I have a webApp that allows users to create a config archive for a device, which they can then import into the device. Though since the webApp is on a public server and the device is connected on local LAN, I cannot upload this archive to its local FTP server.
So i gave the users the option to simply download this .zip archive from my public server (Linux - CentOS btw) and i wrote a windows program (in C#) that allows the user to browse (on their local windows pc) for the package and upload it via FTP to the device's root directory.
I made the download page for the archive public for a while so you can see what i mean:
So to summarize what i'm trying to accomplish: A user visits a webpage on my public server (see link), clicks a button there and the PHP sends a command to my C# application on the user's windows PC which then executes a function