Download directory under downloader/pearlib/is really heavy as I've never deleted.

I read on some page that you can empty the contents of this directory.

Is it safe? Or would it cause any problems? Need when uninstalling extensions??

1 Answer 1


You do not need the downloader directory to run Magento. If you are not planning to install Magento Connect extensions via downloader, then you can delete the directory.

I personally never deploy the downloader directory. Naturally the downloader implementation allows download, unarchive and installation capabilities. In case of new Magento security vulnerabilities it can be the ideal backdoor. This is of course subjective.


Misread the question, the OP is asking about the exact downloader/pearlib/download directory. This is only used as a temporary location where the downloaded archive is extracted and the files copied to the respective target locations. Thus emptying that folder from time to time is not harmful and will save you disk space.

  • I am planning to keep using Magento Connect extensions via downloader. I want to know just about downloader/pearlib/download directory if it is ok to delete the contents under the directory. on this page ma.juii.net/blog/create-compact-magento-backup , it says that "The files in here are not needed by Magento Connect Manager after successful installation, yet can be as large as the rest of Magento". So I thought I can delete without any problems.
    – user9839
    Jul 23, 2015 at 18:41
  • Updated my answer. Sorry for the misunderstanding.
    – halk
    Jul 23, 2015 at 18:46
  • Great! How about downloader/.cache directory files? They can be also emptied from time to time?
    – user9839
    Jul 28, 2015 at 6:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy