Server OS: Centos 5.x / VSFTPD
Client: Windows 7 /Filezilla
You have uploaded an .htaccess file to your FTP space. You click refresh and the file disappears. Do not worry. The file is there – it is simply not displaying as it is classed as a hidden file. If you have shell access then SSH to your server and run:
ls -a
You should see the file listed.
In this scenario, to see the hidden files via your FTP client edit the vsftpd.conf file:
vi /etc/vsftpd/vsftpd.conf
And add the following line
force_dot_files=YES
Dont forget to restart the FTP service!
/sbin/service vsftpd restart