title: Programatically Update FTP account quota in cPanel?
body: <p>I am trying to update the quota of a cPanel FTP account through php.</p>
  
  <pre><code>https://username:password@mydomain.com:2083/frontend/x3/ftp/doeditquota.html?acct=mailid@mydomain.com&amp;quota=50
  </code></pre>
  
  <p>I am making a HTTP Request with the above URL.</p>
  
  <p>And I getting response message </p>
  
  <blockquote>
    <p>The FTP account maildid@mydomain.com was successfully modified with a new quota of 50 Megabytes. 0Failed to determine FTP maildid@mydomain.com directory.</p>
  </blockquote>
  
  <p>But in server quota is not updated . Actually whats issue?</p>
  
  <p>And why this message :</p>
  
  <blockquote>
    <p>0Failed to determine FTP maildid@mydomain.com directory.</p>
  </blockquote>