Go Back   FlashFXP Forums > >

General Discussion Need help? Have a problem? Let us help you. Bug reports and feature requests should be made using the Bug Tracker or Feature Tracker

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 05-10-2005, 11:03 PM   #1
Gary King
Member
FlashFXP Registered User
 
Join Date: Oct 2002
Posts: 90
Default How do I delete an entire directory without going thru every subdir?

How do I delete an entire directory without going thru every subdir?
Gary King is offline  
Old 05-11-2005, 02:34 AM   #2
DayCuts
Senior Member
FlashFXP Beta Tester
 
Join Date: Dec 2003
Posts: 421
Default

If the site supports it, and you have the correct permissions, there is a SITE WIPE command that will delete and entire directory. If the site does not support it or you do not have sufficient permissions to use site commands then there is no other way than to hit delete and roll through the files/subdirs. This is because the RMD raw can only be used on an empty folder.
DayCuts is offline  
Old 05-11-2005, 12:16 PM   #3
Linkster
Moderator
Administrator
 
Join Date: Oct 2001
Location: New Mexico, USA
Posts: 1,070
Default

Actually, recursive delete should work fine as long as you have permissions to do so, and have not checked the "Only delete top-level FTP folders" in the advanced options. FlashFXP works by entering the folder, deleting all the files, then deleting the folder, thus getting around the fact that RMD does not work on folders with files in them.
Linkster is offline  
Old 05-11-2005, 07:06 PM   #4
DayCuts
Senior Member
FlashFXP Beta Tester
 
Join Date: Dec 2003
Posts: 421
Default

I think recursive delete (which is default anyway) is what they are trying to avoid, for large or deep structured folders this can take some time. But in unavoidable unless you have permission to a command such as site wipe.
DayCuts is offline  
Old 05-11-2005, 07:48 PM   #5
Gary King
Member
FlashFXP Registered User
 
Join Date: Oct 2002
Posts: 90
Default

Quote:
Originally posted by DayCuts
If the site supports it, and you have the correct permissions, there is a SITE WIPE command that will delete and entire directory. If the site does not support it or you do not have sufficient permissions to use site commands then there is no other way than to hit delete and roll through the files/subdirs. This is because the RMD raw can only be used on an empty folder.
Quote:
[20:48:22] [R] SITE WIPE
[20:48:22] [R] 500 SITE WIPE is an unknown extension
Does this mean it doesn't work on the FTP?
Gary King is offline  
Old 05-11-2005, 09:00 PM   #6
MxxCon
Super Duper
FlashFXP Beta Tester
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 3,881
Default

Quote:
Originally posted by Gary King
Does this mean it doesn't work on the FTP?
correct
__________________
[Sig removed by Administrator: Signature can not exceed 20GB]
MxxCon is offline  
Closed Thread

Tags
delete, directory, entire, subdir

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Send commands to a running FlashFxp. mag123 General Discussion 0 08-01-2004 04:14 AM


All times are GMT -5. The time now is 08:36 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)