View Full Version : A script...
JacklePoP
March 18th, 2001, 02:23
Just asking if there's a cgi script that helps to mass delete files off a server. I don't want to use FTP to delete files one by one, as i couldn't mass delete files using WS-FTP. =D Any help is greatly appreciated.
Canuckkev
March 18th, 2001, 12:48
Why can't you use WSFTP? You might be abe to go into the options and change some setting that will allow deletion of folders. I know Cute FTP does this.
jw
March 18th, 2001, 23:07
you can login via telnet/ssh and do a
rm -rf folder
be _very_ careful, it does exactly what you say :)
JacklePoP
March 19th, 2001, 05:54
Originally posted by Canuckkev
Why can't you use WSFTP? You might be abe to go into the options and change some setting that will allow deletion of folders. I know Cute FTP does this.
Hmm, can u fill me in on this? I'm with WSFTP.
Canuckkev
March 19th, 2001, 18:10
Well, my version of WS_FTP(think it's 6.6 or something) allows deletion of whole folders with confirmation. Just go into the options, and see if there is anything that you can do to allow you to delete un empty folders.
Hobbes
March 19th, 2001, 20:00
Originally posted by jw
you can login via telnet/ssh and do a
rm -rf folder
be _very_ careful, it does exactly what you say :)
Will that work if there are a milion directories + weird files in it?
keith
March 19th, 2001, 22:13
what's this doing in the web design forum anyhow?
Epgs
March 20th, 2001, 17:28
just delete the base directory and recreate it or click on the first file the ctrl+end and it will highlight them all then hit delete
JacklePoP
March 22nd, 2001, 06:32
Originally posted by keith
what's this doing in the web design forum anyhow?
Because this is the only closest-valid forum for da topic, or do i post in the CGI forum?
atlas
March 30th, 2001, 15:37
As jw suggested, SSH in and do 'rm -rf folderName'
-mk
atlascgi.com
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.