Silent upload

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 ?

I think you’ll want to use HTTPSocket.

We are effectively doing this in several of our apps using the CURL MBS plugin and doing pretty much what you listed.

Alright. Great. Thank you.