I followed your advice and used and API to deal with the file.
For the benefit of those who would like to have a global idea of the process, here are the main steps we followed :
- Saved the picture as JPEG and wrote the file into a Binary Stream. Added boundaries to the string so we can parse the filename and other infos we added along with it once on the server
- Created a HTTPSocket sending a POST to the server special URL event (App.Handle Special URL) containing the Binary Stream
- Parsed the Binary Stream and saved it in a file on the server.
That works well but there might be simpler ways to achieve that I guess. I'm opened to suggestions!
So thanks Aurelian for taking the time to read my post and orienting me toward this solution.