# Disable zip folder function

**URL:** <https://forum.pydio.com/t/disable-zip-folder-function/387>\
**Category:** Pydio 8\
**Created:** [December 31, 2017, 2:24pm UTC](https://forum.pydio.com/t/disable-zip-folder-function/387 "2017-12-31T14:24:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![camille](https://avatars.discourse-cdn.com/v4/letter/c/22d042/32.png) [@camille](https://forum.pydio.com/u/camille)\
**Post date:** [December 31, 2017, 2:24pm UTC](https://forum.pydio.com/t/disable-zip-folder-function/387/1 "2017-12-31T14:24:24Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![camille](https://avatars.discourse-cdn.com/v4/letter/c/22d042/32.png) [@camille](https://forum.pydio.com/u/camille)\
**Post date:** [December 31, 2017, 3:39pm UTC](https://forum.pydio.com/t/disable-zip-folder-function/387/2 "2017-12-31T15:39:39Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![charles](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/charles/32/3_2.png) [@charles](https://forum.pydio.com/u/charles)\
**Post date:** [January 8, 2018, 5:30pm UTC](https://forum.pydio.com/t/disable-zip-folder-function/387/3 "2018-01-08T17:30:09Z")

</div>

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
