Title: Folder deletion problem
Last modified: February 27, 2020

---

# Folder deletion problem

 *  Resolved [renkessler](https://wordpress.org/support/users/renkessler/)
 * (@renkessler)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/folder-deletion-problem/)
 * I moved files from one folder to another. The folder now shows “No files were
   found” but upon attempted deletion of the folder, I received the message “The
   folder is not empty and could not be deleted.”
 * I FTP’d to the original folder and the files are there, as well as in the folder
   I moved them to. Yes, I am sure I did a move and not a copy.
 * What is the best way to correct this problem?
    -  This topic was modified 6 years, 3 months ago by [renkessler](https://wordpress.org/support/users/renkessler/).

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Peter Smits](https://wordpress.org/support/users/psmits1567/)
 * (@psmits1567)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/folder-deletion-problem/#post-12485636)
 * Please check if you do not have a subfolder within the one you moved the images
   from.
    If that is not the case, check which folder is indicated if you select
   an image from within Media. If that is the new folder you can delete the images
   in the original folder with FTP. Then from the original folder perform a sync.
   After that you should be able to remove the folder from within MLF Which version
   of MLF are you using ?
 *  Plugin Author [AlanP57](https://wordpress.org/support/users/alanp57/)
 * (@alanp57)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/folder-deletion-problem/#post-12486149)
 * Be sure your Media Library Folders is in set to move files. The move button can
   change from move to copy. Be certain that it is on ‘Move’.
 * Also be sure that you have updated to the latest version of the plugin.
 * If you move files and the plugin tells you that they have been moved, then could
   check for error messages when the plugin attempts to delete the files. You can
   turn on WordPress debugging by editing the site’s wp-config.php file and change
 * `define('WP_DEBUG', false);`
 * to
 *     ```
       define('WP_DEBUG', true);
       define('WP_DEBUG_LOG', true);
       define('WP_DEBUG_DISPLAY', false);
       @ini_set('display_errors', 0);
       ```
   
 * (Be sure to change this back when you are done.)
 * This will allow different kinds of messages, some will not be related to Media
   Library Folders, to be written to a debug.log file in the wp-content folder. 
   Now try deleting a file. Then check the debug.log file. And you can send your
   debug.log file to me at [alan@maxfoundry.com](https://wordpress.org/support/topic/folder-deletion-problem/alan@maxfoundry.com?output_format=md).
 *  Thread Starter [renkessler](https://wordpress.org/support/users/renkessler/)
 * (@renkessler)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/folder-deletion-problem/#post-12493024)
 * Peter Smits, that did the trick. Thanks.
 *  [Peter Smits](https://wordpress.org/support/users/psmits1567/)
 * (@psmits1567)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/folder-deletion-problem/#post-12493281)
 * Good to see your problem is resolved!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Folder deletion problem’ is closed to new replies.

 * ![](https://ps.w.org/media-library-plus/assets/icon-128x128.jpg?rev=1814048)
 * [Media Library Folders](https://wordpress.org/plugins/media-library-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/media-library-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/media-library-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/media-library-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/media-library-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/media-library-plus/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Peter Smits](https://wordpress.org/support/users/psmits1567/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/folder-deletion-problem/#post-12493281)
 * Status: resolved