I keep getting a "directory not empty" message when trying to delete a directory with FTP.

From XpertDNS

I keep getting a "directory not empty" message when trying to delete a directory with FTP.

This error is caused when a hidden file is left in the directory that you are trying to delete. You will first need to remove the hidden file before you will be able to delete the directory. To view hidden files:

In CuteFTP

  1. Go to Sitemanager.
  2. Choose the connection and click edit.
  3. Make sure ‘filters’ is checked.
  4. Press the filter button towards the bottom.
  5. Check [Enable remote filters (Server applied filter)]
  6. In the box below add -al
  7. Hit apply, now log in with that connection.

In WSFTP

Right click on the connection before logging on, select "properties", then select the "startup" tab. On this screen you shall see a box that says "Remote file mask". In this box place "-al", then log in.

In Fetch

  1. Open the Preferences.
  2. Click on the 'Misc' tab
  3. Click on the 'Obscure Options' popup menu.
  4. Check the 'Send LIST -al to UNIX servers'

In BBEdit

Click the checkbox that says 'Show Files Starting with "."'

In Transmit

  1. Open the Preferences.
  2. Click on 'Files' in the Toolbar.
  3. Check the box that says 'Show all Hidden Files."

In FTP Voyager

  1. Select a profile in the FTP Site Profile Manager.
  2. Click on the 'Advanced' button.
  3. Select the category 'Connection'.
  4. Enter "-la" in the Extra LIST Parameter.

In SecureFX

  1. Right click on the connection before logging on.
  2. Select "properties".
  3. Select Category > Options > FTP.
  4. On this screen you shall see a box that says "Directory Listing Options". Select the option "All entries", and then log in.