1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

ftp_quota dont work with RPC API

Discussion in 'Plesk for Linux - 8.x and Older' started by jarandm@, Jun 22, 2006.

  1. jarandm@

    jarandm@ Guest

    I`m trying to creating a hosting account, from a script with Plesk RPC API. Its working great, but i cant manage to set the ftp_quota.

    My XML looks like this:

    <packet version=\"\">
    <name>" . $domenenavn . "</name>
    <client_id>" . $klient . "</client_id>

    <ftp_login>" . $brukernavn . "</ftp_login>
    <ftp_password>" . $passord . "</ftp_password>


    Help anyone?
  2. cfnick1

    cfnick1 Guest

    Pass in value in bytes. Pass in 20 bytes and it'll read as 0MB. Multiply it by a million and it should work.