At what point do you offer this functionality to the user? The server will know nothing of the uploaded file until a request is sent - then a further request is required to rename the file??
Mar 12, 2018
3
Level 10
How to rename original file name without extension after file upload?
Hi guys,
I am trying to create a rename function which will allow the user to rename the original file name of the uploaded file.
I can rename the whole name however, I don't want the user to be able to edit the extension rather just the name on its own.
e.g. if an uploaded file is named 'testDocument.pdf' I just want the user to see and be able to rename 'testDocument'
thanks in advance.
Please or to participate in this conversation.