FTP client to delete directories?

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
 
M

Mark R. Blain

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top