I was experimenting with this example:
https://playground.fmeserver.com/javascript/server-uploads/upload-file-drag-drop/
My problem is that the sessionID doesn't change. So if I upload multiple times all those files are processed. (I don't want that) I have to either change the sessionID or remove the files before uploading new ones. Any advice on this?