Stupid Question : Is there any way to delete a full directory in WS_FTP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jollyperv
    Confirmed User
    • Nov 2001
    • 3927

    #1

    Stupid Question : Is there any way to delete a full directory in WS_FTP

    I know, stupid question.

    On one of my sites I've got a directory with like 28,000 files in it, every time I try to delete everything, ws_ftp stalls and freezes up.

    Anyone know of a way to delete a directory without deleting the files in it?
  • Trent Edison
    Too lazy to set a custom title
    • Jun 2003
    • 6132

    #2
    The best decision for me would be writing a short php script that erases all files in directory.

    Comment

    • Tala
      Fucked if I know
      • Dec 2002
      • 23368

      #3
      Other than individually deleteing all the files, do you have permission to delete a directory on your server?

      ICQ: 11120676 | Google: mindcrime | Skype: suitemindcrime|E-Mail: mindcrime AT gmail.com|PR girl with great writing skills for hire!!!! Contact me to work for YOU!|TECHIEMEDIA? 24/7 support from some of the best techs in the biz. Tell Jim that I sent you.

      Comment

      • jollyperv
        Confirmed User
        • Nov 2001
        • 3927

        #4
        I ftped via IE to delete them, estimated time to finish deleting files: 2 hours, 18 minutes

        Unreal

        Comment

        • jollyperv
          Confirmed User
          • Nov 2001
          • 3927

          #5
          Originally posted by Tala
          Other than individually deleteing all the files, do you have permission to delete a directory on your server?
          Absolutely. I just get the standard 550 error, directory not empty.

          Comment

          • PornAddict
            Confirmed User
            • Feb 2002
            • 1401

            #6
            You can do it in WS FTP, but it's not a default option. I had similar problems when I bought it, too. Anyway, in WS FTP pro (and most likely other versions), simply click on "Tools" and then "Options". In my version, there is a check box for "Allow deletion of non empty folders". Make sure that is checked. Once it is, you should be good to go.

            Hope that helps.

            - PornAddict

            Comment

            • decrypted
              Confirmed User
              • Nov 2004
              • 370

              #7
              www.flashfxp.com

              ws_ftp is like 20 yrs old man

              Konrad - ICQ 59416956

              Comment

              • NoCarrier
                We need more free porn
                • Mar 2002
                • 16356

                #8
                WS_FTP won't do it, but :

                Cute FTP will delete non empty directories.

                Download it.

                Comment

                • PornAddict
                  Confirmed User
                  • Feb 2002
                  • 1401

                  #9
                  Never mind my post... I'm an idiot. My mind must be in dumb mode. For some reason, I read it as you wanting to delete the entire folder AND the contents within... obviously that's not the case.

                  Sorry... I'm an idiot.

                  - PornAddict

                  Comment

                  • MrJackMeHoff
                    Confirmed User
                    • Mar 2004
                    • 4569

                    #10
                    Originally posted by decrypted
                    www.flashfxp.com

                    ws_ftp is like 20 yrs old man
                    I love flashfxp, i think Ill try to fuck it again..

                    Comment

                    Working...