Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Display files that failed to upload #21

Open
ltdev22 opened this issue Dec 10, 2014 · 1 comment
Open

Display files that failed to upload #21

ltdev22 opened this issue Dec 10, 2014 · 1 comment

Comments

@ltdev22
Copy link

ltdev22 commented Dec 10, 2014

How can I also diplay a list of all files that failed to upload with the error occured to each one?

eg Files failed to upload:
file1 - invalid file format
file2 - filesize too big
file3 - invalid file format
etc etc

@stvnthomas
Copy link
Owner

The uploader is set up to be a fail on first error so in your example only the first file's error can be returned.

You could extend the do_multi_upload() method so that the validation happens prior to the upload.

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

No branches or pull requests

2 participants