Your best friend for file transfer.

Fetch application logoFetch

Trouble Deleting Files. WIndows Server (4 posts)

  • Started 17 years ago by dbcurrin
  • Latest reply 17 years ago from Scott McGuire
  • dbcurrin Member

    Hi, I've been using Fetch 4.0.3 regularly to upload from my Mac running OSX 10.4.6 to a Windows NT Server. I occassionaly get hang errors but on the whole it seems to work fine.

    However I tried uploading yesterday and came accross an error when I tried to upload a directory containing other files. The process was halted and I got an error saying that the directory couldn't be written to.

    So I tried to delete the directory so that I could start again. I now get an error message saying that I can't delete the directory - Server file error: Cannot delete directory.

    Here's the transcript;

    CWD styles
    250 Directory changed to /styles
    PWD
    257 "/styles" is current directory.
    PASV
    227 Entering Passive Mode (63,134,236,161,17,196)
    LIST -al
    150 Opening ASCII mode data connection for /bin/ls.
    226 Transfer complete.
    CWD /
    250 Directory changed to /
    RMD styles
    550 /styles: Cannot delete directory.
    ftp_delete or ftp_rmdir: -30006 (state == RDEL_DELETING)
    PWD
    257 "/" is current directory.
    PASV
    227 Entering Passive Mode (63,134,236,161,17,199)
    LIST -al
    150 Opening ASCII mode data connection for /bin/ls.
    drw-rw-rw- 1 user group 0 Jun 11 06:52 .
    drw-rw-rw- 1 user group 0 Jun 11 06:52 ..
    -rw-rw-rw- 1 user group 27290 Jan 21 14:56 1.jpg
    -rw-rw-rw- 1 user group 32951 Jan 21 14:55 10.jpg
    -rw-rw-rw- 1 user group 26131 Jan 21 14:55 11.jpg
    -rw-rw-rw- 1 user group 11369 Jan 21 14:55 2.jpg
    -rw-rw-rw- 1 user group 97070 Feb 24 12:47 200_g.swf
    -rw-rw-rw- 1 user group 17243 Jan 21 14:54 3.jpg
    -rw-rw-rw- 1 user group 16009 Jan 21 14:54 4.jpg
    -rw-rw-rw- 1 user group 16178 Jan 21 14:53 5.jpg
    -rw-rw-rw- 1 user group 29207 Jan 21 14:52 6.jpg
    -rw-rw-rw- 1 user group 35953 Jan 21 14:51 7.jpg
    -rw-rw-rw- 1 user group 39830 Jan 21 14:50 8.jpg
    -rw-rw-rw- 1 user group 24214 Jan 21 14:50 9.jpg
    drw-rw-rw- 1 user group 0 Jan 20 08:43 CGI-BIN
    -rw-rw-rw- 1 user group 1401 Jan 21 14:49 alternate.gif
    -rw-rw-rw- 1 user group 1464 Jan 21 14:49 alternate.html
    drw-rw-rw- 1 user group 0 Jun 11 06:44 calculator
    -rw-rw-rw- 1 user group 6901 Jan 21 14:49 cheese.jpg
    -rw-rw-rw- 1 user group 1651 Jan 21 14:49 content.html
    drw-rw-rw- 1 user group 0 Jan 20 08:43 database
    -rw-rw-rw- 1 user group 1785 Feb 2 09:23 default.html
    -rw-rw-rw- 1 user group 44324 Feb 24 06:58 digital_print.jpg
    -rw-rw-rw- 1 user group 2090 Jan 21 14:49 flash_detection.swf
    -rw-rw-rw- 1 user group 82872 Jan 21 14:49 hotel&restaurant.jpg
    drw-rw-rw- 1 user group 0 Jun 11 05:56 styles
    226 Transfer complete.

    I've checked the IIS Permissions which seem to be fine. Any help much appreciated. Thanks.

    Posted 17 years ago #

  • Scott McGuire Administrator

    Hi,

    Usually this is caused by there being a file in the directory that the server is not telling Fetch about for some reason.

    If you look inside the styles directory, do you see any files listed in there?

    If there are files in it, try selecting them, deleting them, and if successful, deleting the styles directory. If not successful, please post the transcript from your attempt to delete them.

    What happens if you try with Fetch 5? (You can download a copy and try it in trial mode for 15 days.)

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 17 years ago #

  • dbcurrin Member

    Hi,

    I'm fairly sure that the directories were empty. I even tried doing a blind delete in case there were any .DS_Store or .htaccess files in there which I coulnd't see.

    I then tried deleting the files using an ftp client running on my Windows machine but no luck there either.

    I mailed my host this morning and got them to delete the files. The why remains a mystery but at least the problem is solved.

    Thanks

    d.

    Posted 17 years ago #

  • Scott McGuire Administrator

    Hi,

    Contacting your host was going to be my next suggestion; that's usually what you have to do in these situations.

    Glad it's fixed!

    Best,

    Scott McGuire
    Fetch Softworks

    Posted 17 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.