According to the manual this is what uploadifyCancel does. A function used to remove a file from the queue or stop an upload in progress. The following example will remove a file from the upload queue: $('#someID').uploadifyCancel('NFJSHS');
However when I call uploadifyCancel as described above, the bad file is removed but if there are any files left in the queue, the last file is left in the queue and the upload stops. I just want to remove the file with the selected queueID, and allow the upload to continue. The specific issue is when one of the files is to large, I display an alert and then remove the offending file from the queue, allowing the other files to continue uploading once the user hits the ok button.
I just tried this and it works
alert('The file you are trying to upload is to large. Maximum size = '+ ' ' + errorObj['info']); $("#uploadify").uploadifyCancel(queueID); $('#uploadify').uploadifyUpload(); but it seems wrong to have to do this ?