Support » Fixing WordPress » Cannot delete wp-content/cache

  • I am trying to do a fresh install of WordPress on my blog. I started off by cleaning out my entire blog folder (aftter backing it up on my machine). However, I cannot delete the following folders, I keeping getting a ‘Directory not empty’ message. I have verified that these directories are empty. I am using FileZilla to ftp. Since I cannot delete the wp_content folder, a new install fails. Any idea why these folders cannot be deleted though they look empty?


Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Andrew Ozz


    WordPress Dev

    Try enabling ‘view hidden files’ in Filezilla and refresh the view. If no luck – check the permissions.

    Thanks! It worked.

    Any advice for a DreamHost user? I’m using their web-based FTP called net2ftp. There’s no option to “view hidden files” and I’ve changed permissions to allow “read, write, excute” but am still unable to delete that file. The culprit is a file called “advanced-cache.php -> plugins/wp-cache/wp-cache-phase1.php” if that means anything…

    After posting my question here, I sent e-mail to DreamHost support about this. They replied in about 10 minutes saying “no problem,” and deleted that file for me. I think it must happen often.

    One thing that I learned is to use PuTTY to delete that pesky directory that won’t go away. I kept doing all the things above, but with PuTTy it only took me a few seconds to delete. Some basic commands:

    To change directories: cd /path/to/your/directory
    To delete a file: rm filename
    To delete a directory: rm -rf directoryname
    To unzip a zip file: unzip filename
    To unzip a tar.gz file: tar -xvzf filename
    To zip a file: don’t know – try “man zip”
    To change up one directory: cd ..
    two directories: cd ../..


Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Cannot delete wp-content/cache’ is closed to new replies.