We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I will check if the server owns the file before uploading,If it already exists,I want to mark this file as successfully uploaded,No upload is required
The text was updated successfully, but these errors were encountered:
Hi! You can do that as I explained in the comment: #1112 (comment), by setting progress.uploadComplete = true:
progress.uploadComplete = true
Object.keys(uppy.state.files).forEach(fileID => { // https://uppy.io/docs/uppy/#uppy-setFileState-fileID-state uppy.setFileState(fileID, { progress: { uploadComplete: true, uploadStarted: true } }) })
Sorry, something went wrong.
You can also create a small custom Uppy plugin that will do the necessary checks before the upload, please see example here: https://uppy.io/docs/writing-plugins/#Example-of-a-custom-plugin.
This change not reflecting in Dashboard Plugin (Button for addFiles hide ou not render).
@arturi Thank you, that works. How can we update % of upload progress using the setFileState?
setFileState
arturi
No branches or pull requests
I will check if the server owns the file before uploading,If it already exists,I want to mark this file as successfully uploaded,No upload is required
The text was updated successfully, but these errors were encountered: