How to disable file overwrite?

asked 2015-05-27 09:41:45 -0500

Brandon gravatar image

Supposedly, I uploaded a file named "document.pdf" through the Form Post middleware. The next day I uploaded a new document with the same file name. The default behaviour (to my understanding) is that the new document will overwrite the old document. Is there a way to auto rename the new document to "document(2).pdf"?

edit retag flag offensive close merge delete


Please add more information about what you are doing. What service is the form post through? We cannot help you if you are not specific about the issues you are seeing

jdexter gravatar imagejdexter ( 2015-05-29 11:02:26 -0500 )edit