-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Support long type MaxFileSize in MediaOptions? #17309
Comments
Thank you for submitting your first issue, awesome! 🚀 We're thrilled to receive your input. If you haven't completed the template yet, please take a moment to do so. This ensures that we fully understand your feature request or bug report. On what happens next, see the docs. If you like Orchard Core, please star our repo and join our community channels. |
Really?! I might never have seen any managed by CMS before. @Piedone, did you come across such a situation in DotNest? |
Not as users asking for it, but I don't know if anybody tried to upload larger files. But I guess while changing the type itself should be fine (and even backward compatible), I'd be conscious about the following when allowing such large files:
|
I'm glad to support this feature. We are using OrchardCore to build an intranet CMS solution, including a engineering document management module. providing hierarchical data management , big 3d model file management etc. |
I'd suggest you start a draft PR along the lines of what I've written above, and then we can see if it's a suitable approach going forward. |
This should just work by changing the type in code. Please try to change it and verify it works in a PR. |
We triaged this issue and set the milestone according to the priority we think is appropriate (see the docs on how we triage and prioritize issues). This indicates when the core team may start working on it. However, if you'd like to contribute, we'd warmly welcome you to do that anytime. See our guide on contributions here. |
1 similar comment
We triaged this issue and set the milestone according to the priority we think is appropriate (see the docs on how we triage and prioritize issues). This indicates when the core team may start working on it. However, if you'd like to contribute, we'd warmly welcome you to do that anytime. See our guide on contributions here. |
You should be able to represent 2GB using int. The Try the following and see if this will allow you to upload the 2GB file. (obviously use with caution as this could crash your app if you are not careful)
|
Is your feature request related to a problem?
There are some huge size file more than 2GB, we 'd like to upload media library, but mediaoptions maxFileSize number only set as type int32.
Describe the solution you'd like
Could you give a long type of MaxFileSize in MediaOptions
Describe alternatives you've considered
The text was updated successfully, but these errors were encountered: