InfinetyEs / Nova-Filemanager

A Filemanager tool for Laravel Nova
https://infinetyes.github.io/Nova-Filemanager
MIT License
219 stars 96 forks source link

Laravel Vapor / Nova / S3 upload size restrictions #142

Open lhilton opened 3 years ago

lhilton commented 3 years ago

I am using Vapor to host several applications, and I recently found that this imposes a 5mb (I could be wrong, but small) limit to file uploads.

Does Nova Filemanager support streaming to s3 instead of the store-and-forward setup? Are there any initiatives underway to support this configuration?

Krato commented 3 years ago

You can chose any disk to be used by the package. Check the docs.

lhilton commented 3 years ago

Perhaps I wasn't clear enough about my question. This bit of code:

https://github.com/InfinetyEs/Nova-Filemanager/blob/c6595c29e23cab01be6b7e37a069b13844397c91/src/Http/Services/FileManagerService.php#L179

Will not work when you are using Laravel Vapor for hosting and uploading files that are larger than 5mb (maybe 6?). From the Laravel Vapor docs:

https://docs.vapor.build/1.0/resources/storage.html#file-uploads

I am curious if there is any plan to support streaming file uploads so we can overcome the file size limitation that currently exists.

julianlaibach commented 2 years ago

Hey all, is there any update on this? Would be great, it's bit of a bottleneck

bilogic commented 2 years ago

Not sure how streaming file uploads work, but I know this will help with large files, i.e. > GB https://github.com/pionl/laravel-chunk-upload

I just spent half a day fixing the csrf issues. Anyone wants to tackle large files together?

marcemarin commented 1 year ago

Hello, how did you get the filemanager to work in vapor?

julianlaibach commented 1 year ago

We built a custom Tool - i think its not completely ready for production yet... let me know if you want to check out the code

bilogic commented 1 year ago

@julianlaibach sure!

marcemarin commented 1 year ago

We built a custom Tool - i think its not completely ready for production yet... let me know if you want to check out the code

It would be great!