Skip to content
New issue

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

[Feature] Prevent Uploading Old Files #902

Open
1 task done
mrtsglk opened this issue Mar 8, 2023 · 3 comments
Open
1 task done

[Feature] Prevent Uploading Old Files #902

mrtsglk opened this issue Mar 8, 2023 · 3 comments

Comments

@mrtsglk
Copy link

mrtsglk commented Mar 8, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe.

I am listing the files I have uploaded. When I add a new file, the same files are uploaded again. What can I do to prevent it from reloading files that have already been uploaded?

Describe the solution you'd like

Files uploaded as data-upload="false" can be prevented from being uploaded again.

Describe alternatives you've considered

Files uploaded as data-upload="false" can be prevented from being uploaded again.

@NormandoHall
Copy link

NormandoHall commented Jun 4, 2023

Yes please. When I use "load" endpoint, the retrieve file is upload to the server again. Maybe these two PR are related #914 #896

@rikschennink
Copy link
Collaborator

You have to mark already uploaded files as "local", meaning the file is already on the server.
https://pqina.nl/filepond/docs/api/instance/properties/#files

@NormandoHall
Copy link

@rikschennink yes, I marked as "local". Also I tried with restore endpoint, marking as "limbo", and the file is upload again. The only way to stop upload again is setting "instantUpload" to false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants