FTP client to delete directories?

  • Thread starter Thread starter Dave Smey
  • Start date Start date
D

Dave Smey

Hi all,

I currently use WS_FTP, and in general it's fine. But when I want to nuke a
directory (which, perhaps, has subdirectories) it seems that it sends a
single command to the server, which fails because the dir is still full of
junk.

Does anybody use an FTP client that will automatically "clean out" the
directory before deleting?

Thanks,
-DS
 
I currently use WS_FTP, and in general it's fine. But when I want to nuke a
directory (which, perhaps, has subdirectories) it seems that it sends a
single command to the server, which fails because the dir is still full of
junk.

Does anybody use an FTP client that will automatically "clean out" the
directory before deleting?

The standard FTP commands to delete all items in a directory are
PROMPT OFF (don't ask me about each file)
MDEL * (delete all the files in the *current* directory)

Your ftp client should allow you to type such commands directly, in
case you want to do something that's not a built-in feature.
WS_FTP many also support RDEL for recursive deletion: check the
manual.
 
Back
Top