vscode-sftp
vscode-sftp copied to clipboard
Hidden files (.htaccess or .htpasswd)
Hello,
Could i see the hidden files(.htaccess or .htpasswd) on explorer ? I can't download either (the error is "file not exist"). Have you a solution please ?
Thanks. Raphael from France
If you use vsftpd, the solution is to add the force_dot_files=YES option in the /etc/vsftpd.conf file at the remote machine.
Hello. My server use ProFTPD. Can you provide an option to force the display of hidden files like Filezilla for example?
Understood that -al or -A command might not work in certain FTP server. Is that possible to put that additional flag options into the config options, so it is up to the user to configure it in sftp.json
https://github.com/liximomo/vscode-sftp/commit/c2608f7573e8169fae1e72b6e254ea7ee292dfa3
example { "host": "example.com", "ftpOptions": "-al" }
For proftpd, you need to create an .ftpaccess file in the respective folder or your server proftpd.conf with following code in order to view the hidden files.
ListOptions "-a"
http://www.proftpd.org/docs/directives/linked/config_ref_ListOptions.html http://www.proftpd.org/docs/howto/ftpaccess.html
@liximomo what about hidden folders? I am trying to get into 'apache2' on a bitnami installation, and the hidden folder is showing as a file with no way to open it. My only current option is ssh then use nano. --Thanks!
the same problem - files/folders starting with a dot are not visible... have any solution?
Can you solve this soon please? I can't see and edit .htaccess files on some servers like netcup.
Hello everyone, why are my files with a dot visible when connecting via FileZilla, but not via your SFTP plugin? How to fix it? The server uses poftp, but that’s not the issue here, because in FileZilla I see these files when connecting via ftp, 21 ports, passive mode and the same login and password.