Checking for existing file before upload

I have dropzone.js installed with WordPress and all is working well, however what I would like to do is check if a file already exists in my uploads folder before it’s uploaded again. I have a feeling I will need to add the code via “addfile” in dropzone but I have no idea how. I know a little PHP but no Ajax. If anyone willing to steer me in the right direction I would appreciate it.

Read more here: Checking for existing file before upload

Leave a Reply

Your email address will not be published. Required fields are marked *