title: FTP Server doesn't allow me to upload .htaccess file
body: <p>I am using Amazon EC2 server. Set up a Ubuntu system and ProFTPD Server. Then I create an user to upload files. It works.</p>
  <p>But I can't upload .htaccess file. It returns the following error:</p>
  <pre><code> Response:  257 &quot;/public_html&quot; 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
  </code></pre>
  <p>I am managing things via webmin and through Terminal via ssh. I tried following steps:</p>
  <h1>DenyFilter         *.*/   (Commented this line on the config file of FTP)</h1>
  <p>Added GLOBAL like this:
  
  ListOptions &quot;-la&quot;
  </p>
  <p>But nothing works.</p>
  <p>An interesting thing is, I can upload .htaccess file to other directories except &quot;public_html&quot;..</p>