Web Hosting Talk







View Full Version : "ShowDotFiles on" in ProFTPD?


JTM
11-16-2002, 02:57 AM
I would like to enable ProFTPD so files that start with a dot (.) like .htaccess or .htpasswd files will be displayed in FTP. However, when I add (ShowDotFiles on) in the ProFTPD config file, it prevents me from being able to login with FTP:

Connecting to IPADDRESS:21
Connected to IPADDRESS:21 in 0.059, Waiting for Server Response
Connection closed by remote host.

If I remove this line, I can connect. Can somebody tell me how I can make it so files that start with a dot will appear while allowing me to connect? This is strange because I even tried clicking "Yes" in Webmin in the ProFTPD area to Show files starting with . in listings?.

Any help would be greatly appreciated. In case it makes a difference I'm running Red Hat 7.2.


JTM

Schumie
11-16-2002, 11:31 AM
If your FTP client you should be able to pass commands.

If you can pass ls -al that will show all you .file, also, l works on most system (l is just a 'shortcut' for ls -al)

Steve

Kottonmouth
11-16-2002, 02:24 PM
You can also add LsDefaultOptions "-A" to /etc/proftpd.conf to have the ls command append -A by default.

JTM
11-16-2002, 02:54 PM
You can also add LsDefaultOptions "-A" to /etc/proftpd.conf to have the ls command append -A by default.

That did the trick! Thanks a lot Kottonmouth.


JTM