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 351 forks source link

Is there an API or something to add unzip functionality to FileManager #506

Closed SlitYahoo closed 8 years ago

SlitYahoo commented 8 years ago

Hi, I would like to add unzip functionality to Filemanager. Is there some easy way to do so? I translated Filemanager to Croatian language... if you need it...

psolom commented 8 years ago

Not so easy but possible. It depends on the connector and storage type of course. It may be implemented for PHP connector definetely, but unzip functionality brings security threat. Customer may put any files to archive, potentially malicious, and you will not be able to check them (by file type, e.g.).

SlitYahoo commented 8 years ago

Then what is the best way for uploading folder using Filemanager?

psolom commented 8 years ago

No way, indeed. The only way currently is to create new empty folder and use multiple files upload then. BTW unzip feature has a right to exist. If you are going to use FM yourself or share to permitted users solely. In some "admin panel" or another secured area. It may be optional feature in config file to use it to your own risk. I will add it to my todo list, but I have others things to do first.

psolom commented 8 years ago

In any case this repo is weakly supported. I can suggest you to migrate to Rich Filemanager. All new features are implementing there. And use it for any further issues and suggestions, please.

SlitYahoo commented 8 years ago

Ok. Thank you.