Cannot delete wp-content/cache (6 posts)

  1. sn14
    Posted 8 years ago #

    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?


  2. Andrew Ozz
    WordPress Dev
    Posted 8 years ago #

    Try enabling 'view hidden files' in Filezilla and refresh the view. If no luck - check the permissions.

  3. sn14
    Posted 8 years ago #

    Thanks! It worked.

  4. mistressemilie
    Posted 8 years ago #

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

  5. mistressemilie
    Posted 8 years ago #

    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.

  6. oddstar
    Posted 8 years ago #

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


Topic Closed

This topic has been closed to new replies.

About this Topic