FineUploader / fine-uploader

Multiple file upload plugin with image previews, drag and drop, progress bars. S3 and Azure support, image scaling, form support, chunking, resume, pause, and tons of other features.
https://fineuploader.com
MIT License
8.18k stars 1.87k forks source link

Can I set a file status to UPLOAD_SUCCESSFUL #2036

Closed Yang2007 closed 6 years ago

Yang2007 commented 6 years ago

I will check if the file exists on the server before uploading the file. If true I want to set the file status to UPLOAD_SUCCESSFUL.

promise.failure() in function onUpload will set the file status to UPLOAD_FAILED, and setStatus does not work.

Is there a function just like success(id) or success(id, partIndex)

How can I do?

rnicholus commented 6 years ago

please don't delete the issue template