Well I am creating a react based web application in which I want to upload docx/pdf and convert it to pdf/docx. For security reason there is no way to get file path in react. I wanna use libreoffice-convert package for above reason in which one should provide path of the file. I have heard that one can get path using node script but I am not able to figure it out.
Can somebody help me out by answering following questions
1.) Should I write file uploading code in Node.js script to get the path of the file?
2.) What are other ways to get file path (other than Node.js )?
3.) If there is other way to get file path than Node.js then can I configure it in react?
Please share any resource that can help me in doing the above task. Sorry for the poor english.
Thank you in advance
Aucun commentaire:
Enregistrer un commentaire