Gossamer Forum
Home : General : Perl Programming :

Deleting files using telnet

Quote Reply
Deleting files using telnet
Hello,

How do i remove the all files and directory (including the sub directory in the directory) by using telnet? Any help will be appreciated. Thank you in advance.

Regards,
Kay

Quote Reply
Re: Deleting files using telnet In reply to
rm -Rf dir_name

Quote Reply
Re: Deleting files using telnet In reply to
Thanks, theguy. It works fine. But there's one problem. I still cannot delete it from server, the error message is "permission denied". I also cannot delete it by using FTP. I really confused about this. Would you give me more clue, please? Thank you in advance.


Regards,
Kay

Quote Reply
Re: Deleting files using telnet In reply to
change the dir permission to 777 then use the above command

Quote Reply
Re: Deleting files using telnet In reply to
If you're referring to Links files that were created by the program, they are owned by user Nobody, so you cannot delete them

You'll need Wipeout! http://www.cybernox.com/scripts/wipeout.html

BE CAREFUL.

--mark

Installation support is provided via ICQ at UIN# 53788453. I will only respond on that number.
Quote Reply
Re: Deleting files using telnet In reply to
Wow..., it worked just like magic...!!! Many many thanks, Mark. I really like your script, so when the next version will be available, ;)


Regards,
Kay

Quote Reply
Re: Deleting files using telnet In reply to
HA! The next version was something I was gonna do like 3 years ago, and never got around to... =)

Ah well Smile

--mark

Installation support is provided via ICQ at UIN# 53788453. I will only respond on that number.