Symlinks ( symbolic links / soft links ) are the shortcuts to another file or directory, Here I’m referring to the symlinks that you usually see in a FTP account ( not to be confused with the shortcuts used in a PC ).
You can not usually delete symlinks by
- Using control panel provided by your host.
- Using internet explorer to accesss ftp account.
- Using a random ftp client that only supports ftp.
- Changing file permission (eg: changing to 777 ) and trying to delete.
How to delete symlinks
- Use a proper ftp client software that supports SFTP/SSH mode file transfer. Use Winscp or filezilla . I have tried winscp and mostly filezilla too works in sftp mode.
- Use shell commands to remove the symlink, eg 1: use “rm /www/public_html/~folder_name” instead of “rm ~folder_name” to delete the file along with the folder. eg2: use “unlink symbolic-link” .
Once you remove Symlinks it will be easy to delete the containing folder, try it.
- Permalink
- The Analyst
- 24 Aug 2008 4:27 AM
- Comments (0)