#Send file from Renderer to Main process
1 messages · Page 1 of 1 (latest)
Nodejs fs module
on the renderer side i can already read the file, I just was not sure how to send that from renderer to main. or can i just pass the file once i read it on the reactjs side
so from the UI the user selects the file (its a zip) this needs to go to the main to be sent over serial port to an embedded system that i communicate over serial port
so the main handles all communication with the serial port
it will get chunked out and sent over serial to the device (firmware essentially)
Then send file path
could there be any permission issues potentially?
lets say if the user saves the file in their user directory