Your best friend for file transfer.

Fetch application logoFetch

Directory is not empty error (8 posts)

This is an archived topic. The information in it is likely to be out-of-date and no longer applicable to current versions of Fetch.
  • Started 10 years ago by Nemius
  • Latest reply 10 years ago from Jim Matthews
  • Nemius Member

    Using Fetch to access an AppleShare IP 6.3 server I sometimes get an error message when trying to delete a directory: Directory not empty...but it is, I have checked on the server (I am the administrator of the server) and anyway it should still be deletable shouldn't it? Some users of mine also report this problem with Fetch when accessing a Windows server at a suppliers site. The problem is intermittent. Can anyone explain what is happening here?

    [This message has been edited by Nemius (edited 06-18-2003).]

    [This message has been edited by Nemius (edited 06-18-2003).]

    [This message has been edited by Nemius (edited 06-19-2003).]

    Posted 10 years ago #

  • Jim Matthews Administrator

    It's the server that insists on directories being empty before they can be deleted. Fetch's approach is to ask the server for a list of all the items in the directory, and delete them. Sometimes this does not work because the server does not actually list everything (it might leave out invisible files, or file names starting with a period).

    Could you post the contents of the Fetch Transcript window after you see this problem? Choose "Fetch Transcript" from the Window menu to open it. Also, it might help to know the name of the file that isn't being deleted.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 10 years ago #

  • Nemius Member

    Thanks for the prompt reply; here's the transcript:

    125 ASCII transfer started
    226 Transfer complete
    CWD /MW Copy
    250 Directory changed.
    RMD DUD
    550 Directory is not empty.
    ftp_delete or ftp_rmdir: -30006 (state == RDEL_DELETING)
    PWD
    257 "/MW Copy" is current directory.
    TYPE A
    200 Type now ASCII (Non-print)
    PORT 192,168,49,100,30,168
    200 PORT command successful.
    LIST
    125 ASCII transfer started
    drwxrwx--- 1 owner group 0 Jun 16 12:56 DUD
    drwxrwx--- 1 owner group 0 Jun 17 18:05 DUD2
    drwxrwx--- 1 owner group 0 Jun 17 18:03 DUD3
    drwxrwx--- 1 owner group 0 Jun 17 19:15 page 14 pics extra
    drwxrwx--- 1 owner group 0 Jun 17 17:09 Xtra p13 pic
    226 Transfer complete

    [This message has been edited by Nemius (edited 06-19-2003).]

    Posted 10 years ago #

  • Jim Matthews Administrator

    Could you post the entire transcript? Also, could you find out the name of the file in the DUD directory that isn't being deleted?

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 10 years ago #

  • Nemius Member

    Sorry, entire Transcript now follows.

    Directory contains an invisible file called "Icon"

    Transcript:
    Fetch 4.0.2 System 0x1026 Serial FETCHFL001-9E19-DCR4 TR
    Connecting to 213.52.161.110 port 21 (19/6/03 10:16:53 am)
    220-AppleShare IP FTP Server; Service Ready
    220
    ADAT
    500 Command unrecognized.
    USER TV
    331 User name ok, need password.
    PASS
    230-User logged in, proceed
    230
    SYST
    215 UNIX AppleShare IP FTP Server
    PWD
    257 "/" is current directory.
    MACB ENABLE
    200 MacBinary ENABLED for binary transfers.
    CWD /TV
    250 Directory changed.
    PWD
    257 "/TV" is current directory.
    TYPE A
    200 Type now ASCII (Non-print)
    PORT 192,168,49,100,254,135
    200 PORT command successful.
    LIST
    125 ASCII transfer started
    drwxrwx--- 1 owner group 0 Jun 16 18:53 To be ISDNed
    drwxrwx--- 1 owner group 0 Jun 16 19:00 TVL07 Razor SG%2fFre
    drwxrwx--- 1 owner group 0 Jun 18 16:51 TVLQ2 TyrelQ
    drwxrwx--- 1 owner group 0 Jun 19 10:09 TVLQ2 YorkshireE
    226 Transfer complete
    CWD TVLQ2 YorkshireE
    250 Directory changed.
    PWD
    257 "/TV/TVLQ2 YorkshireE" is current directory.
    TYPE A
    200 Type now ASCII (Non-print)
    PORT 192,168,49,100,102,221
    200 PORT command successful.
    LIST
    125 ASCII transfer started
    -rwxrwx--- 1 owner group 133274 Jun 19 10:06 TVLQ2 YorkshireE.bin
    -rwxrwx--- 1 owner group 65075 Jun 12 15:07 ytv_logo.jpg
    226 Transfer complete
    TYPE I
    200 Type now BINARY (Image)
    MACB DISABLE
    200 MacBinary DISABLED for binary transfers.
    SIZE TVLQ2 YorkshireE.bin
    501 Error in parameters (path does not point to file).
    MDTM TVLQ2 YorkshireE.bin
    502 MDTM command not implemented.
    PORT 192,168,49,100,84,119
    200 PORT command successful.
    RETR TVLQ2 YorkshireE.bin
    125 Binary transfer started (133504 bytes)
    226 Transfer complete
    Download completed at 19/6/03 10:17:34 am (state == RGET_RETRIEVING)
    QUIT
    221 Goodbye.
    Connecting to 213.52.161.110 port 21 (19/6/03 10:18:50 am)
    220-AppleShare IP FTP Server; Service Ready
    220
    ADAT
    500 Command unrecognized.
    USER TV
    331 User name ok, need password.
    PASS
    230-User logged in, proceed
    230
    SYST
    215 UNIX AppleShare IP FTP Server
    PWD
    257 "/" is current directory.
    MACB ENABLE
    200 MacBinary ENABLED for binary transfers.
    CWD TV
    250 Directory changed.
    PWD
    257 "/TV" is current directory.
    TYPE A
    200 Type now ASCII (Non-print)
    PORT 192,168,49,100,111,182
    200 PORT command successful.
    LIST
    125 ASCII transfer started
    drwxrwx--- 1 owner group 0 Jun 16 18:53 To be ISDNed
    drwxrwx--- 1 owner group 0 Jun 16 19:00 TVL07 Razor SG%2fFre
    drwxrwx--- 1 owner group 0 Jun 18 16:51 TVLQ2 TyrelQ
    drwxrwx--- 1 owner group 0 Jun 19 10:17 TVLQ2 YorkshireE
    226 Transfer complete
    CWD TVLQ2 YorkshireE
    250 Directory changed.
    PWD
    257 "/TV/TVLQ2 YorkshireE" is current directory.
    TYPE A
    200 Type now ASCII (Non-print)
    PORT 192,168,49,100,50,131
    200 PORT command successful.
    LIST
    125 ASCII transfer started
    226 Transfer complete
    CWD /TV
    250 Directory changed.
    PWD
    257 "/TV" is current directory.
    TYPE A
    200 Type now ASCII (Non-print)
    PORT 192,168,49,100,66,179
    200 PORT command successful.
    LIST
    125 ASCII transfer started
    drwxrwx--- 1 owner group 0 Jun 16 18:53 To be ISDNed
    drwxrwx--- 1 owner group 0 Jun 16 19:00 TVL07 Razor SG%2fFre
    drwxrwx--- 1 owner group 0 Jun 18 16:51 TVLQ2 TyrelQ
    drwxrwx--- 1 owner group 0 Jun 19 10:17 TVLQ2 YorkshireE
    226 Transfer complete
    CWD TVLQ2 YorkshireE
    250 Directory changed.
    PWD
    257 "/TV/TVLQ2 YorkshireE" is current directory.
    CWD /TV
    250 Directory changed.
    PWD
    257 "/TV" is current directory.
    TYPE A
    200 Type now ASCII (Non-print)
    PORT 192,168,49,100,21,201
    200 PORT command successful.
    LIST
    125 ASCII transfer started
    drwxrwx--- 1 owner group 0 Jun 16 18:53 To be ISDNed
    drwxrwx--- 1 owner group 0 Jun 16 19:00 TVL07 Razor SG%2fFre
    drwxrwx--- 1 owner group 0 Jun 18 16:51 TVLQ2 TyrelQ
    drwxrwx--- 1 owner group 0 Jun 19 10:17 TVLQ2 YorkshireE
    226 Transfer complete
    QUIT
    221 Goodbye.
    Connecting to 213.52.161.110 port 21 (19/6/03 10:19:51 am)
    220-AppleShare IP FTP Server; Service Ready
    220
    ADAT
    500 Command unrecognized.
    USER MWCopy
    331 User name ok, need password.
    PASS
    530 Login incorrect.
    Connecting to 213.52.161.110 port 21 (19/6/03 10:20:11 am)
    220-AppleShare IP FTP Server; Service Ready
    220
    ADAT
    500 Command unrecognized.
    USER FTPAdmin
    331 User name ok, need password.
    PASS
    530 Login incorrect.
    Connecting to 213.52.161.110 port 21 (19/6/03 10:20:19 am)
    220-AppleShare IP FTP Server; Service Ready
    220
    ADAT
    500 Command unrecognized.
    USER FTP Admin
    331 User name ok, need password.
    PASS
    530 Login incorrect.
    Connecting to 213.52.161.110 port 21 (19/6/03 10:21:01 am)
    220-AppleShare IP FTP Server; Service Ready
    220
    ADAT
    500 Command unrecognized.
    USER MW Copy
    331 User name ok, need password.
    PASS
    230-User logged in, proceed
    230
    SYST
    215 UNIX AppleShare IP FTP Server
    PWD
    257 "/" is current directory.
    MACB ENABLE
    200 MacBinary ENABLED for binary transfers.
    CWD /MW Copy
    250 Directory changed.
    PWD
    257 "/MW Copy" is current directory.
    TYPE A
    200 Type now ASCII (Non-print)
    PORT 192,168,49,100,124,67
    200 PORT command successful.
    LIST
    125 ASCII transfer started
    drwxrwx--- 1 owner group 0 Jun 16 12:56 DUD
    drwxrwx--- 1 owner group 0 Jun 17 18:05 DUD2
    drwxrwx--- 1 owner group 0 Jun 17 18:03 DUD3
    drwxrwx--- 1 owner group 0 Jun 17 19:15 page 14 pics extra
    drwxrwx--- 1 owner group 0 Jun 17 17:09 Xtra p13 pic
    226 Transfer complete
    CWD DUD
    250 Directory changed.
    PWD
    257 "/MW Copy/DUD" is current directory.
    TYPE A
    200 Type now ASCII (Non-print)
    PORT 192,168,49,100,84,67
    200 PORT command successful.
    LIST
    125 ASCII transfer started
    226 Transfer complete
    CWD /MW Copy
    250 Directory changed.
    PWD
    257 "/MW Copy" is current directory.
    CWD DUD
    250 Directory changed.
    PWD
    257 "/MW Copy/DUD" is current directory.
    TYPE A
    200 Type now ASCII (Non-print)
    PORT 192,168,49,100,36,6
    200 PORT command successful.
    LIST
    125 ASCII transfer started
    226 Transfer complete
    CWD /MW Copy
    250 Directory changed.
    RMD DUD
    550 Directory is not empty.
    ftp_delete or ftp_rmdir: -30006 (state == RDEL_DELETING)
    PWD
    257 "/MW Copy" is current directory.
    TYPE A
    200 Type now ASCII (Non-print)
    PORT 192,168,49,100,30,168
    200 PORT command successful.
    LIST
    125 ASCII transfer started
    drwxrwx--- 1 owner group 0 Jun 16 12:56 DUD
    drwxrwx--- 1 owner group 0 Jun 17 18:05 DUD2
    drwxrwx--- 1 owner group 0 Jun 17 18:03 DUD3
    drwxrwx--- 1 owner group 0 Jun 17 19:15 page 14 pics extra
    drwxrwx--- 1 owner group 0 Jun 17 17:09 Xtra p13 pic
    226 Transfer complete
    PWD
    257 "/MW Copy" is current directory.
    PWD
    257 "/MW Copy" is current directory.
    PWD
    257 "/MW Copy" is current directory.
    PWD
    257 "/MW Copy" is current directory.
    PWD
    257 "/MW Copy" is current directory.
    QUIT
    221 Goodbye.
    Connecting to 213.52.161.110 port 21 (19/6/03 10:35:07 am)
    220-AppleShare IP FTP Server; Service Ready
    220
    ADAT
    500 Command unrecognized.
    USER MW Copy
    331 User name ok, need password.
    PASS
    230-User logged in, proceed
    230
    SYST
    215 UNIX AppleShare IP FTP Server
    PWD
    257 "/" is current directory.
    MACB ENABLE
    200 MacBinary ENABLED for binary transfers.
    CWD MW Copy
    250 Directory changed.
    PWD
    257 "/MW Copy" is current directory.
    CWD DUD2
    250 Directory changed.
    PWD
    257 "/MW Copy/DUD2" is current directory.
    TYPE A
    200 Type now ASCII (Non-print)
    PORT 192,168,49,100,200,66
    200 PORT command successful.
    LIST
    125 ASCII transfer started
    226 Transfer complete
    CWD /MW Copy
    250 Directory changed.
    CWD DUD2
    250 Directory changed.
    PWD
    257 "/MW Copy/DUD2" is current directory.
    TYPE A
    200 Type now ASCII (Non-print)
    PORT 192,168,49,100,102,23
    200 PORT command successful.
    LIST
    125 ASCII transfer started
    226 Transfer complete
    CWD /MW Copy
    250 Directory changed.
    RMD DUD2
    550 Directory is not empty.
    ftp_delete or ftp_rmdir: -30006 (state == RDEL_DELETING)
    PWD
    257 "/MW Copy" is current directory.
    TYPE A
    200 Type now ASCII (Non-print)
    PORT 192,168,49,100,149,195
    200 PORT command successful.
    LIST
    125 ASCII transfer started
    drwxrwx--- 1 owner group 0 Jun 16 12:56 DUD
    drwxrwx--- 1 owner group 0 Jun 17 18:05 DUD2
    drwxrwx--- 1 owner group 0 Jun 17 18:03 DUD3
    drwxrwx--- 1 owner group 0 Jun 17 19:15 page 14 pics extra
    drwxrwx--- 1 owner group 0 Jun 17 17:09 Xtra p13 pic
    226 Transfer complete
    QUIT
    221 Goodbye.
    Connecting to 213.52.161.110 port 21 (19/6/03 2:41:32 pm)
    220-AppleShare IP FTP Server; Service Ready
    220
    ADAT
    500 Command unrecognized.
    USER MW Copy
    331 User name ok, need password.
    PASS
    230-User logged in, proceed
    230
    SYST
    215 UNIX AppleShare IP FTP Server
    PWD
    257 "/" is current directory.
    MACB ENABLE
    200 MacBinary ENABLED for binary transfers.
    CWD /MWCopy
    550 Directory not found.
    ftp_cwd: -30006 (state == CHANGING_DIR)
    PWD
    257 "/" is current directory.
    TYPE A
    200 Type now ASCII (Non-print)
    PORT 192,168,49,100,85,35
    200 PORT command successful.
    LIST
    125 ASCII transfer started
    drwxrwx--- 1 owner group 0 Jun 19 14:40 MW Copy
    226 Transfer complete
    CWD MW Copy
    250 Directory changed.
    PWD
    257 "/MW Copy" is current directory.
    TYPE A
    200 Type now ASCII (Non-print)
    PORT 192,168,49,100,109,240
    200 PORT command successful.
    LIST
    125 ASCII transfer started
    drwxrwx--- 1 owner group 0 Jun 16 12:56 DUD
    drwxrwx--- 1 owner group 0 Jun 17 18:05 DUD2
    drwxrwx--- 1 owner group 0 Jun 17 18:03 DUD3
    drwxrwx--- 1 owner group 0 Jun 17 19:15 page 14 pics extra
    drwxrwx--- 1 owner group 0 Jun 17 17:09 Xtra p13 pic
    226 Transfer complete
    CWD DUD
    250 Directory changed.
    PWD
    257 "/MW Copy/DUD" is current directory.
    TYPE A
    200 Type now ASCII (Non-print)
    PORT 192,168,49,100,187,4
    200 PORT command successful.
    LIST
    125 ASCII transfer started
    226 Transfer complete
    CWD /MW Copy
    250 Directory changed.
    CWD DUD
    250 Directory changed.
    PWD
    257 "/MW Copy/DUD" is current directory.
    TYPE A
    200 Type now ASCII (Non-print)
    PORT 192,168,49,100,7,24
    200 PORT command successful.
    LIST
    125 ASCII transfer started
    226 Transfer complete
    CWD /MW Copy
    250 Directory changed.
    RMD DUD
    550 Directory is not empty.
    ftp_delete or ftp_rmdir: -30006 (state == RDEL_DELETING)
    PWD
    257 "/MW Copy" is current directory.
    TYPE A
    200 Type now ASCII (Non-print)
    PORT 192,168,49,100,239,142
    200 PORT command successful.
    LIST
    125 ASCII transfer started
    drwxrwx--- 1 owner group 0 Jun 16 12:56 DUD
    drwxrwx--- 1 owner group 0 Jun 17 18:05 DUD2
    drwxrwx--- 1 owner group 0 Jun 17 18:03 DUD3
    drwxrwx--- 1 owner group 0 Jun 17 19:15 page 14 pics extra
    drwxrwx--- 1 owner group 0 Jun 17 17:09 Xtra p13 pic
    226 Transfer complete
    PWD
    257 "/MW Copy" is current directory.

    [This message has been edited by Nemius (edited 06-19-2003).]

    Posted 10 years ago #

  • Jim Matthews Administrator

    Thanks. I consider it a bug in the AppleShare IP server that it does not list that file (presumably because it is invisible). You could report that problem to Apple, but I don't know that they are still working on AppleShare IP.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 10 years ago #

  • philipmarch Member

    Same issue with OS X Server (10.2.4) here. If you consider this a bug in the Apple server software, why does Transmit not have this issue with deleting the very same directories?

    Posted 10 years ago #

  • Jim Matthews Administrator

    Could you post a copy of Transmit's transcript -- I'd be curious to see what they're doing differently.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 10 years ago #

Topic closed

This topic has been closed.