# Deleting files through FTP

**URL:** <https://forum.kirupa.com/t/deleting-files-through-ftp/42042>\
**Category:** Uncategorized\
**Created:** [February 4, 2004, 2:31pm UTC](https://forum.kirupa.com/t/deleting-files-through-ftp/42042 "2004-02-04T14:31:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lydia219](https://avatars.discourse-cdn.com/v4/letter/l/58956e/32.png) [@lydia219](https://forum.kirupa.com/u/lydia219)\
**Post date:** [February 4, 2004, 2:31pm UTC](https://forum.kirupa.com/t/deleting-files-through-ftp/42042/1 "2004-02-04T14:31:16Z")

</div>

I’ve tried many times to delete a folder I uploaded to URL. The error message said that ’ An FTP error occurred - cannot remove remote folder delete. Dorectory not empty’

Who knows how should I do? I tried to rename it or cut it. Still no working.

Lydia

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 4, 2004, 9:57pm UTC](https://forum.kirupa.com/t/deleting-files-through-ftp/42042/2 "2004-02-04T21:57:46Z")

</div>

First - delete the contents of the directory. Then you can delete the folder itself.

If you are using wsftp pro …go into your View \> Options panel and from there select the “Pro” panel.  
Now activate “Allow deletion of non empty folders”.  
Hit ok and you can now delete folders when they are not empty.

😉
