simogeo / Filemanager

An open-source file manager released under MIT license. Up-to-date for PHP connector. This package is DEPRECATED. Now, please use RichFileManager available at : https://github.com/servocoder/RichFilemanager.
938 stars 350 forks source link

File size limit during downloading a folder - download button #502

Closed Antintn closed 8 years ago

Antintn commented 8 years ago

Hello.

I would like to ask if is there also a possibility to limit the size of the downloaded folders? I would like to use something like: If we have folder larger than 2GB the button "download" will not show up when we click right button of the mouse on the folder
If we have folder smaller than 2GB the button "download" will show up when we click right button of the mouse on the folder and the file download will be available

Was something similar implemented in filemanager? If not, could you please guide me how can it be implemented in the easiest way, please?

Kind Regards

psolom commented 8 years ago

There is no such option for Download action. I have implemented fileRootSizeLimit option in RichFilemanager (forked repo), so you are able to limit the size of destination root folder, but still nothing for downloading limitation.