You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I use for my website next js.
I have a pdf on my site and I duplicate this pdf. And I want to edit the copy of pdf and save this. But it doesn't work.
For duplicate my pdf is use this (it work well) :
copyFile(
"public/assets/pdf/test.pdf",
`public/assets/pdf/copy.pdf`,
(err) => {
if (err) throw err;
console.log("source.txt was copied to destination.txt");
}
);
I try to do this in frontend and backend but nothing work.
The pdf "copy.pdf" is not edit and not save when I open it. So how to save edit pdf in folder ?
I follow this tutorial https://jsfiddle.net/Hopding/64zajhge/1/
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I use for my website next js.
I have a pdf on my site and I duplicate this pdf. And I want to edit the copy of pdf and save this. But it doesn't work.
For duplicate my pdf is use this (it work well) :
And I try to modify and save (it not work) :
I try to do this in frontend and backend but nothing work.
The pdf "copy.pdf" is not edit and not save when I open it. So how to save edit pdf in folder ?
I follow this tutorial https://jsfiddle.net/Hopding/64zajhge/1/
Thank you for your help
Beta Was this translation helpful? Give feedback.
All reactions