Having developed a C++ AES algorithm program to encrypt text files on the server machine, I am now looking to expand its capabilities by enabling file uploads from different machines using a web app.
The web app is created in Java and will interface with the server machine through a Java-based API. When a user clicks the upload button on the web app, it triggers the API to transfer the file to the server machine. So far, this process has been successful for files within the same LAN.
However, I have hit a roadblock. I want the C++ program to automatically recognize when a new file is uploaded to the machine, retrieve it, and initiate the encryption process. How can this be achieved?
My initial thought was to potentially utilize JavaScript, but I am unsure of how to implement this solution.
If more information is needed, please do not hesitate to ask. Any advice or guidance on this matter would be greatly appreciated. Thank you!