Reputation: 253
Is it, with jsPDF, possible to use a specific path for the generated pdf?
I'm using this for the saving part:
pdf.save(path);
But editing the path, will only rename the name of the file. So if I for example use "pdf/pdf.pdf" as a path, the pdf file will simply be named "pdf-pdf.pdf"
Upvotes: 2
Views: 2089
Reputation: 8151
No, javascript does not support saving files in custom locations for security reasons.
Upvotes: 1