Skip to content

Check if File/Files Exist #4

@jaredcoles

Description

@jaredcoles

Is it possible to check if the file exists before it is uploaded and then give the option to overwrite the file or to skip it?

I know in the PHP file it checks if the file exists, but I would like to check before it gets to that stage.

I would assume I could put a sweet alert confirm type message in the scripts.js file somewhere but I have not been successful in finding the correct place. I put it in here: "onyxDropzone.on('addedfile', function (file) { " but it still fires off the rest of the dropzone functions regardless of what I do, and it doesn't check for each file.

Any suggestions would be awesome. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions