SitePoint Sponsor

User Tag List

Results 1 to 13 of 13
  1. #1
    SitePoint Zealot ruben's Avatar
    Join Date
    Dec 2000
    Location
    home
    Posts
    167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    WS_FTP LE - deleting files

    Am I stupid, or do I really have to delete the contents of the folders before I can remove them? An example: I have to delete page1.html and page2.html, before I can delete its folder. What I want, is to delete the folder, and don't have to thing about the files inside.
    Why is duck?

  2. #2
    Don't get too close, I bite! Nicky's Avatar
    Join Date
    Jul 1999
    Location
    Lancashire, UK
    Posts
    8,277
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Yes, a lot of the time you cannot remove a folder unless it is empty!

  3. #3
    SitePoint Zealot ruben's Avatar
    Join Date
    Dec 2000
    Location
    home
    Posts
    167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmm... That sounds like it's once in a while, or every second time.
    Why is duck?

  4. #4
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't know of WSFTP has this feature, but LeechFTP has it. Look somewhere in your app for a listing titled recursive delete. That will delete the contents and then the folder.

    All I have to do is to right click on a folder, select "Recursive Delete" and presto chango...empty folder.
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  5. #5
    SitePoint Zealot ruben's Avatar
    Join Date
    Dec 2000
    Location
    home
    Posts
    167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, I'll check out Leech then. I went to www.ipswitch.com for an update, but I couldn't find 'LE. http://www.ipswitch.com/products/index.html
    Weird.
    Why is duck?

  6. #6
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  7. #7
    SitePoint Zealot ruben's Avatar
    Join Date
    Dec 2000
    Location
    home
    Posts
    167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    LeechFTP was good. Fast. But the Recursive Delete you bragged about didn't work. Maybe it's something with my server that doesn't allow it.
    "! Could no recursive delete /folder www.server.com (forbidden)"
    Why is duck?

  8. #8
    Sports Publisher mjames's Avatar
    Join Date
    Jan 2000
    Location
    Charlotte, NC
    Posts
    5,891
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah, you have to delete the folder's contents first. I guess this is a security measure. A quick shortcut is to hold down Shift and highlight all the files you want deleted within that folder and then delete all.

  9. #9
    Victory shall be mine tubedogg's Avatar
    Join Date
    Mar 2001
    Location
    Medina, OH
    Posts
    440
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think this is just the way *Nix works. Could be mistaken tho
    Kevin

  10. #10
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ruben...are you on an NT server? I am on a Linux server and it works perfectly for me.
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  11. #11
    SitePoint Wizard
    Join Date
    Sep 1999
    Posts
    1,390
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by mjames
    Yeah, you have to delete the folder's contents first. I guess this is a security measure. A quick shortcut is to hold down Shift and highlight all the files you want deleted within that folder and then delete all.
    Quicker to press CTRL + A

  12. #12
    SitePoint Wizard
    Join Date
    Apr 2000
    Posts
    1,483
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you have access to telnet, go in and type:
    Code:
    rm -rf foldername
    Which will remove the folder and its contents without bothering you again.

  13. #13
    SitePoint Zealot ruben's Avatar
    Join Date
    Dec 2000
    Location
    home
    Posts
    167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, I'm on a NT server. How come I only get email-notices about the first replies? Hmmm...
    Why is duck?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •