Disable zip folder function

#1

Hi,

I want to disable the zip function when I download a folder.

In the main pydio options, I disabled zip creation.
In my server, I modified the file ConfServices.php in /pydio/core/src/pydio/Core/Services/ ; On the line : zipEnabled() I added return false;

Look at that, my file ConfServices :

/**
* ZIP FEATURES
*/

/**
 * Check if the gzopen function exists
 * @static
 * @return bool
 */
public static function zipEnabled()
{
    return false;
}

/**
 * Check if users are allowed to browse ZIP content
 * @static
 * @return bool
 */
public static function zipBrowsingEnabled()
{
    return false;

}

/**
 * Check if users are allowed to create ZIP archive
 * @static
 * @return bool
 */
public static function zipCreationEnabled()
{
    return false;

}

Despite all that, it does not work, my folders are downloaded in zip.

Sorry my english, but i’m french.

Thank you all

-Camille

#2

My config is : Debian x64 Jessie 8.9 and Pydio Community 8.0.1

#3

hi,
look for the “download” action inside the access.fs/fsActions.xml file and you should see file="true" and folder="true". Set folder to “false”, clear plugins cache (rm -f data/cache/plugins_.) and it should be gone.
-c