I am using Amazon EC2 server. Set up your Ubuntu system and ProFTPD server. Then I create a user to upload files. It is working.
But I can not download the .htaccess file. It returns the following error:
Response: 257 "/public_html" is the current directory Command: TYPE A Response: 200 Type set to A Command: PORT 192,168,1,2,200,20 Response: 200 PORT command successful Command: STOR .htaccess Response: 550 .htaccess: Permission denied Error: Critical error Status: Disconnected from server
I manage things through webmin and through Terminal via ssh. I tried the following steps:
DenyFilter *. * / (Commented on this line in the FTP configuration file)
Added GLOBAL: ListOptions "-la"
But nothing works.
Interestingly, I can upload the .htaccess file to directories other than "public_html" ..
source share