Create a RestfulAPI on the hosting service to give commands to edit files.
And from the exe-program to contact the hosting via POSTGET requests in json-format and perform the necessary actions.
And from the exe-program to contact the hosting via POSTGET requests in json-format and perform the necessary actions.