Announcement

Collapse
No announcement yet.

Unable to delete folders with hidden/system files

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Unable to delete folders with hidden/system files

    This is an intermittent problem I have. I suspect the problem is caused by using the "DEL" key to delete a folder before BC knows what files the folder contains.

    Right now I have 6-8 folders I can't delete via FTP, and even when I turn off filters, I can't even view the files. However, if I open 4 of them on one web site, I see just one file, a thumbs.db in each of these folders, a file that normally is filtered out. Removing thumbs.db from my filter, still does not allow me to see this file, so apparently you're not showing files with the HSA attribute.

    So I can't delete the folder b/c it's not empty, yet I can't see the system file to delete it.

    Let's make it perfectly clear tho. I have deleted image folders successfully. Usually I see a warning that the folder contains hidden files and can check the checkbox to delete it properly. Like I said before, I think the problem is when it tries to delete the folder before it knows the folder contains hidden or system files. Either way I'll leave these on the server until you have a fix that will delete them as-is.

    Thanks.

  • #2
    This might help:

    After removing the thumbs.db file from my filters, I notice I can see the file in a folder where there are other files, just not in a folder where thumbs.db is the only file.

    Comment


    • #3
      Rick,

      Do the files show up if you use the View->Suppress Filters command? If not it's quite possible that your FTP server isn't returning it in the directory listing. Open the Tweaks dialog (Ctrl+Shift+T) and turn on "Include debug messages in log" in the "Folder Views" tab, then refresh the directory. With that option checked BC will dump the directory listing it gets, exactly as it gets it, to the log at the bottom of the screen.
      Zoë P Scooter Software

      Comment


      • #4
        Hi Craig.

        No suppress filters shows no files in these folders, even tho they contain just the thumbs.db file.

        Debug isn't much help either:
        7/24/2009 9:25:53 AM Sent> RMD adp
        7/24/2009 9:25:53 AM Recv> 550 adp: The directory is not empty.
        7/24/2009 9:25:53 AM Unable to delete ftp://*****
        /******/images/adp: adp: The directory is not empty.

        7/24/2009 9:25:53 AM Failed to delete 1 items. Completed in 0.06 seconds.

        (I censored the full path.)

        Comment


        • #5
          This is just for the delete:

          7/24/2009 9:42:19 AM Sent> CWD /********/images
          7/24/2009 9:42:20 AM Stat> Connected.
          7/24/2009 9:42:20 AM Recv> 220 Microsoft FTP Service
          7/24/2009 9:42:20 AM Sent> USER ********
          7/24/2009 9:42:20 AM Recv> 331 Password required for ********.
          7/24/2009 9:42:20 AM Sent> PASS ********
          7/24/2009 9:42:20 AM Recv> 230 User ********logged in.
          7/24/2009 9:42:20 AM Sent> FEAT
          7/24/2009 9:42:20 AM Recv> 211-FEAT
          7/24/2009 9:42:20 AM Recv> SIZE
          7/24/2009 9:42:20 AM MDTM
          7/24/2009 9:42:20 AM 211 END
          7/24/2009 9:42:20 AM Sent> TYPE A
          7/24/2009 9:42:20 AM Recv> 200 Type set to A.
          7/24/2009 9:42:20 AM Sent> SYST
          7/24/2009 9:42:20 AM Recv> 215 Windows_NT
          7/24/2009 9:42:20 AM Sent> PWD
          7/24/2009 9:42:20 AM Recv> 257 "/" is current directory.
          7/24/2009 9:42:20 AM Sent> CWD /********/images
          7/24/2009 9:42:20 AM Recv> 250 CWD command successful.
          7/24/2009 9:42:20 AM Sent> RMD ezp
          7/24/2009 9:42:20 AM Recv> 550 ezp: The directory is not empty.
          7/24/2009 9:42:20 AM Unable to delete ftp://********@********:********/********/images/ezp: ezp: The directory is not empty.

          7/24/2009 9:42:20 AM Failed to delete 1 items. Completed in 0.39 seconds.
          Last edited by Rick Steinwand; 24-Jul-2009, 09:48 AM.

          Comment


          • #6
            This is refreshing just the folder:

            7/24/2009 9:46:17 AM Sent> CWD /********/images/ezp
            7/24/2009 9:46:17 AM Stat> Connected.
            7/24/2009 9:46:17 AM Recv> 220 Microsoft FTP Service
            7/24/2009 9:46:17 AM Sent> USER ********
            7/24/2009 9:46:17 AM Recv> 331 Password required for ********.
            7/24/2009 9:46:17 AM Sent> PASS ********
            7/24/2009 9:46:17 AM Recv> 230 User ******** logged in.
            7/24/2009 9:46:17 AM Sent> FEAT
            7/24/2009 9:46:17 AM Recv> 211-FEAT
            7/24/2009 9:46:18 AM Recv> SIZE
            7/24/2009 9:46:18 AM MDTM
            7/24/2009 9:46:18 AM 211 END
            7/24/2009 9:46:18 AM Sent> TYPE A
            7/24/2009 9:46:18 AM Recv> 200 Type set to A.
            7/24/2009 9:46:18 AM Sent> SYST
            7/24/2009 9:46:18 AM Recv> 215 Windows_NT
            7/24/2009 9:46:18 AM Sent> PWD
            7/24/2009 9:46:18 AM Recv> 257 "/" is current directory.
            7/24/2009 9:46:18 AM Sent> CWD /********/images/ezp
            7/24/2009 9:46:18 AM Recv> 250 CWD command successful.
            7/24/2009 9:46:18 AM Sent> PORT ********
            7/24/2009 9:46:18 AM Recv> 200 PORT command successful.
            7/24/2009 9:46:18 AM Sent> LIST
            7/24/2009 9:46:18 AM Recv> 150 Opening ASCII mode data connection for /bin/ls.
            7/24/2009 9:46:18 AM Recv> 226 Transfer complete.
            7/24/2009 9:46:18 AM FTP ParserID:

            Comment


            • #7
              Yep, exactly like I thought. Your FTP server is returning an empty directory listing if the directory only includes thumbs.db. BC isn't the one filtering it out, so there's nothing we can do.
              Zoë P Scooter Software

              Comment


              • #8
                I just fixed the problem.

                Under FTP profiles, I checked "Show hidden [-a]".

                Now I was given the option to delete hidden files and was able to delete the folders.

                Comment

                Working...
                X