How to get file buffer from file

@shantanukumar847
Just to understand your statement right Shan, …

But you can’t upload a file directly without using the Wix Media Manager natively, with custom HTML or custom element that you may be.

Is the problem the missing option of creating a file-selector without html-component or custom element? I also still have the question, if it is somehow possible to avoid the HTML-way and do it somehow by an NPM-installation or similar workaround.

Once i have had a little conversation with J.D. here in one of the posts, where he talked about that he is using another way (if i understood him right). Can’t find the post again. :sleepy::sleepy::sleepy: