Looking to build a little JavaScript web tool to rename files without needing to send them to a server. Ideally, I'd like to upload a file to a form, to either input type="file"
or DataTransfer
(drag/drop), then run a script to change the file.name
, then present the renamed file to the user, all client side.
Is this possible? I know how to rename the files, but how to let the user save the new file without sending it to a server?
Thanks!