I have an upload form working in my templates (on the frontend), however if I try to upload a file with the same name as an existing asset the file isn't uploaded.
I notice instead a prompt message comes back.
I'm not sure how to deal with this, I presume some AJAX call is required.
I would prefer it if I could send a value which tells Craft to keep both files without prompting.
What would be the best way of handling this?