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

Continue to upload files if a file is rejected (Uploaded content is unacceptable) #573

Open
gabldotink opened this issue Jan 7, 2023 · 1 comment

Comments

@gabldotink
Copy link

Trying to upload a full directory, with multiple levels and arbitrary files. The file ./archive/adobePhotoshopPatterns/Color Paper.pat is rejected after uploading, with the error:
error uploading /archive/adobePhotoshopPatterns/Color Paper.pat: Uploaded content is unacceptable. - image file has non-image contents: application/octet-stream, try one of these extensions: .obj .dll .bin .a .o .so .exe .deploy .msu .msp
, and then exits.

I don't know how many files will be rejected like this. It's just a list of example files for various formats, including some very obscure ones, so tons of them are bound to get skipped. I'm fine with them being skipped, but it would be great if it kept going with the ones IA would accept.

Related to #490.

@jjjake
Copy link
Owner

jjjake commented Jan 24, 2023

I think the default behavior for this should stay the same, and we should add this as an --ignore-errors (or similar) option.

Thanks for taking the time to submit this issue, @gabldotink

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

No branches or pull requests

2 participants