Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Unable to delete by ftp

Quote Reply
Unable to delete by ftp
Hi there:

In some reason, I want to delete any category file by cute ftp or wsftp software, it says directory not empty. Then I make it empty. but it still not deleted.

Someone can tell me, how can I delete easily those directory without delete one by one file.

Demi
Quote Reply
Re: Unable to delete by ftp In reply to
The command lines in telnet you need to use are as follows:

1) Connect to your links/pages directory:

Code:
cd /links/pages

2) Remove pages in the directory:

Code:
rm Directory/*

3) Then remove the directory:

Code:
rmdir Directory

You can also use these commands in the command line option in the FTP programs.

BTW: You probably do not have the correct permissions for your directory. Make sure that you have the directories set to 777 (drwxrwxrwx) or 766 (drwxrw-rw-).

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: Unable to delete by ftp In reply to
if you have telnet acces and you art using unix use this
rm-Rf directory name
if not there is a mode in the resource center to do so