FTP Question
Hello,
I am accessing my ftp backup server through Putty. So I use the ftp <servername> command. Is there a way for me to delete all of the files in 1 shot? I have tried delete * and delete *.* but that didn't seem to work. Thanks and have a nice day! |
mdel * or mdelete * should work
|
ftp multiple delete - mdelete
You can delete multiple files using the mdelete (mdel) command.
so use mdel * You will probably be in interactive mode so you'll have to answer y to each entry. You can disable this by entering <i>prompt</i> to turn off interactive mode. I think that the mdel command is an extension of the original ftp protocol so it may not work with all servers. It can delete subdirectories and files as well, so be careful, especially if you use non-interactive mode! |
All times are GMT -5. The time now is 04:40 PM. |