Would this be the best process to generate a pdf from an uploaded word document and save the resulting pdf file to a database?
- Upload word document to temp folder
- Stream uploaded document into PDF
- Save PDF to temp folder
- Read PDF into Stream
- Save stream of PDF into database
This is the currently how I have it set up, however, I would like to skip the process of saving the file to disk if at all possible.
Ideal solution:
- Upload word document to temp folder
- Stream uploaded document into PDF Stream
- Save stream of PDF into database.
Thanks.