pydio-core
pydio-core copied to clipboard
Update and Enhance POWER FS Plugin
This PR enhances the POWER FS Plugin to use other zip tools as well as every other zip tool. The monitoring process has also be improved and made more general to support other zip tools. The initial Plugin code is preserved in a separate function, so it should be backwards compatible at every time. 1 + 3 + 1 tools are available. Zip tool with the code from the first version. zip tool with the second version of the code. 7 zip, winrar and manual configuration, which can execute any other zipping tool. The monitoring process offers 1 + 3 different versions, the first version of the code. The second version of the original code using CLI output, FileOutput e.g. provided by Winrar and average speed, which can be used for everything especially for manual zip tool. Also several settings can now be made to configure the plugin like max execution time, max zipping time per file and in total etc. Works in my installation since one year and I am happy to have your comments. Details are in the documentation.
I do not know for what this is for. How do you select a root directory?
$baseFile = $selectionFile; .... if(trim($baseFile, "/") == ""){ // ROOT IS SELECTED, FIX IT $args = array(escapeshellarg(basename($rootDir))); $rootDir = dirname($rootDir); break; }
Hello Charles, when do you merge this pull request? Or do I have to do something? Regards Andreas
Hi Andy, Still on my todo, but it's so huge, I have to take some long time to review it, test it deeply, verify for security, etc...
Let me know if I can help you. Until now it works on my installations fine. But only with WinRAR and Windows.