pydio-core icon indicating copy to clipboard operation
pydio-core copied to clipboard

Update and Enhance POWER FS Plugin

Open andypmuc opened this issue 10 years ago • 4 comments

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.

andypmuc avatar Feb 10 '15 12:02 andypmuc

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; }

andypmuc avatar Feb 10 '15 14:02 andypmuc

Hello Charles, when do you merge this pull request? Or do I have to do something? Regards Andreas

andypmuc avatar May 27 '15 21:05 andypmuc

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...

cdujeu avatar May 28 '15 06:05 cdujeu

Let me know if I can help you. Until now it works on my installations fine. But only with WinRAR and Windows.

andypmuc avatar May 29 '15 19:05 andypmuc