简体   繁体   中英

Trying to create .htaccess file using ftp doesn't work

I want to create a .htaccess file in a specific directory. I'm using Notepad++ and their plug-in for FTP (NppFTP). I'm able to create any other files and see them in the folder but when I try to create a .htaccess I don't see that file in the directory. I get no errors, it is like nothing happened.

I tried to create this file using an FTP program and it showed the file and right away it disappeared. My guess it is because this is a special file used by the system and prefixed by a (.)

What is a way to edit that file?

打开显示ftp客户端中的隐藏文件

This is probably because your ".htaccess" file is a hidden file and your system is set up to no display hidden files.

Have a look in your Notepad++ settings if there's an option to make hidden files visible/unhide.

In addition to that check the windows folder options for that option!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM