How to get file buffer from file

@pimdorrestijn
Ok, how to solve your issue? There are different ways of how to do it.

One way would be…

  1. Creating a File-Selector/Blob in an HTML-Component (HTML-+JS-Code)
  2. Generating an UPLOAD-URL (needed to do the upload)
  3. Connect the communication between HTML-Component and PAGE (you will need this to send UPL-URL to your HTML-Component.
  4. In your HTML-Component you choose your wished file using your created File-Selector.
  5. Fileselector sends INFO-DATA back to PAGE (if needed) and also starts the UPLOAD.
  6. Also you should learn about → BASE64

Edit: I am currently working on a similar project, so if you need more help or even a service you can contact me (look into profile).