I want my electron application (nodejs) to be able to send big files to a php server (laravel). There are several methods which might allow to acheive this mession, like using plupload and resumable.js.
The thing is that I want to load the file by path. In nodejs, it is possible to access files by path using
const stream = fs.createReadStream(file).
However, it is not working for me with the mentioned libraries. In plupload, I tried the following: Uploading a file in electron using plupload programatically
With no answers. This is a separate question, as here I am asking for possible ways to upload large files (using chunks for example) by file path.