View Full Version : deleting an invisible file?
nemesis
03-02-2002, 07:45 PM
I need to delete a htapswd file to upload the new one but the problem is the file cannot be viewed. So, i need a program that lets me to write the files name and delete it. It seems like with cuteftp i need to click on the file to delete it. So any suggestions?
Most FTP Clients have an option to switch on/off the display of hidden files. I don't use CuteFTP but it should be somewhere in the preferences. If not, do yourself a favour and get SmartFTP - awesome free FTP Client.<br /><br />z
PeepNTom
03-02-2002, 07:57 PM
-la should unhide your files <img border="0" title="" alt="[Smile]" src="smile.gif" />
nemesis
03-02-2002, 08:34 PM
how can i use this -la command?
Dragon
03-02-2002, 09:05 PM
nemisis, upload the file in text format, then rename the file which will then overwrite the invisible one, it will still show, simply click it and delete it.
nemesis
03-02-2002, 09:21 PM
Dragon, as soon as I rename it it disappears
nemesis
03-02-2002, 10:56 PM
Ok, i found this cuteftp proggy... there is command option where i can write a command for deleting files. I tried delete .htaccess but it did not work. So, what is the command for deleting files?
Cobalt
03-03-2002, 02:51 AM
Hi,<br /><br />If you have shell access to this server, just log in through telnet or SSH, and type<br />cd /your/path/to/these/files<br />ls -lA .ht*<br />to display those hidden files. If you see them, you can just remove them using<br />rm -f filename<br /><br />If you don't have shell access, you can use WS_FTP, which is capable of viewing hidden files.<br /><br />Carl
shane
03-03-2002, 07:05 AM
download ws-ftp, then do this<br /><br />1. select the site<br /><br />2. hit the startup tab<br /><br />3. add -al to the 'remote file mask' box<br /><br />4. connect to site<br /><br />5. like magic you can see/edit/deleate all your . files <img border="0" title="" alt="[Smile]" src="smile.gif" />
it all depends on your ftp server config. If it is configured not to show hidden files, no client will show it... best thing to do is use ssh.
vBulletin® v3.7.3, Copyright ©2000-2012, Jelsoft Enterprises Ltd.