Your best friend for file transfer.

Fetch application logoFetch

Recursive Delete? (2 posts)

  • Started 15 years ago by shrew42
  • Latest reply 15 years ago from Scott McGuire
  • shrew42 Member

    I have a large file with many subfolders that I am trying to delete but I am getting a "Directory not empty" error. How do I set Fetch to recursively delete all the items in a folder all at one time so I don't ahave to go in and empty individually first? thanks!

    Posted 15 years ago #

  • Scott McGuire Administrator

    Hi,

    When you delete a folder, Fetch always does a recursive delete. Fetch will first attempt to delete the files inside a folder, then the folder itself.

    You are getting that message because when Fetch asked the server to delete one of the subfolders which was supposedly empty, the server returned an error. At that point, Fetch cannot continue.

    This may be happening because there are hidden files in that subfolder that the server did not tell Fetch about, so Fetch did not delete them - or it may be that the folder really is empty, and there's some sort of problem with the server.

    When you get that error, have you looked inside the problem folder to see if there are any files in it?

    If you could try again and post the tail end of your Fetch transcript, we can take a look and see if we have any suggestions about how to fix this problem. To do this:

    * Try deleting the folder.
    * When you get the error, go to the Window menu, and choose Fetch Transcript.
    * Copy the last 100 lines or so (approximately - a couple screen fulls will be fine), and paste them into a reply to this message.

    We'll take a look.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 15 years ago #

Reply

  • Or nickname, if you prefer.
  • This will be kept confidential.
  • This is to ensure that you’re a person, not a spambot.