I am using uploadifive to upload files on the server. While the file is being uploaded on the server and a user clicks on the (x) icon the upload will stop.
However, after the file is uploaded. If a user click on the (x) I want to remove that file from the server completely.
I tried to use onCancel
event but that gives me the file information on my local machine. I will need the final file name that was saved on the server (I rename file before copying them on the server.)
How can I remove he file when the use clicks the (x) icon.
Thank you