How should I proceed to have a desktop app upload a file silently to a web app ?
It requires for the web app to be able to check the desktop app credentials, so the file goes into an area corresponding to that particular user.
I see the process as
- Desktop app calls Web app with a password
- Web app replies with another password
- When both are sure they talk to the proper party, Web app signals authorization to upload
- Desktop app tells Web app which user it is so it can store it in its folder
- Upload takes place
Could all that be carried out by TCP Socket ?