# FTP via Mount doesn't delete empty folders

**URL:** <https://forum.rclone.org/t/ftp-via-mount-doesnt-delete-empty-folders/46494>\
**Category:** Help and Support\
**Created:** [June 19, 2024, 2:57pm UTC](https://forum.rclone.org/t/ftp-via-mount-doesnt-delete-empty-folders/46494 "2024-06-19T14:57:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dalo](https://forum.rclone.org/user_avatar/forum.rclone.org/dalo/32/13928_2.png) [@Dalo](https://forum.rclone.org/u/Dalo)\
**Post date:** [June 19, 2024, 2:57pm UTC](https://forum.rclone.org/t/ftp-via-mount-doesnt-delete-empty-folders/46494/1 "2024-06-19T14:57:08Z")

</div>

#### What is the problem you are having with rclone?

Rclone Mount on FTP doesn't delete empty folders.  
Is there a way around this?

#### Run the command 'rclone version' and share the full output of the command.

rclone v1.68.0-beta.8034.4ea629446

#### Which cloud storage system are you using? (eg Google Drive)

FTP

#### The command you were trying to run (eg `rclone copy /tmp remote:tmp`)

```auto
[metaemby2]
type = ftp
host = myftp.host.com
user = myuser
pass = mypasswd
concurrency = 10

Rclone Mount via Service as follows:

```

```auto
Type=notify
Environment="RCLONE_CONFIG_PASS=mypasswd"
ExecStart= \
  /usr/bin/rclone mount \
    --config=%h/.config/rclone/rclone.conf \
    --log-level DEBUG \
    --log-file /root/logs/rclone/%i.log \
    --umask 022 \
--vfs-cache-mode full \
--allow-other \
--no-modtime \
--cache-dir /root/rclone/cache \
--no-checksum \
--ignore-checksum \
--no-check-certificate \
--checkers 20 \
--transfers 20 \
--vfs-fast-fingerprint \
--vfs-cache-max-age 99999h \
--no-seek \
--dir-cache-time 99999h \
--ignore-size \
--user-agent "ISV|rclone.org|rclone/v1.62.2" \
--vfs-cache-max-size 20G \
    %i: %h/mnt/%i
ExecStop=/bin/fusermount -u %h/mnt/%i
Restart=always
RestartSec=30

```

#### A log from the command that you were trying to run with the `-vv` flag

```auto
metaemby2.log: 2024/06/19 16:44:56 ERROR : metadata/library/dc/dcb30b4bf7674c3167675104f055e01d/: Dir.Remove not empty
metaemby2.log: 2024/06/19 16:44:56 ERROR : metadata/library/6a/6a1370ced59bcb381d2f648792676d42/: Dir.Remove not empty
metaemby2.log: 2024/06/19 16:44:56 ERROR : metadata/library/cf/cf4d59ecfc6ac7fb7f87a6cbddcc1153/: Dir.Remove not empty

```

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [June 19, 2024, 3:08pm UTC](https://forum.rclone.org/t/ftp-via-mount-doesnt-delete-empty-folders/46494/2 "2024-06-19T15:08:00Z")

</div>

hi,

> [@Dalo](#):
>
> Rclone Mount on FTP doesn't delete empty folders.

the log states that the folder is not empty - `Dir.Remove not empty`

fwiw, `--checkers` does nothing on a mount

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [July 19, 2024, 3:08pm UTC](https://forum.rclone.org/t/ftp-via-mount-doesnt-delete-empty-folders/46494/3 "2024-07-19T15:08:04Z")

</div>

Closed on July 19, 2024, 3:08pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
