buy
Edit FTP Account

Description

Use the Edit FTP Account API to edit FTP user in Webuzo account.

Parameters

NameMethodValueDescriptionRequired
actGETftpThe action specified to retrieve data after edit FTP account.Yes
edit_recordPOSTintThis will trigger edit FTP account.Yes
edit_ftp_userPOSTtextUser Name of FTP account to edit.Yes
quotaPOSTtextQuota for FTP account. For Unlimited quota set "quota=unlimited" and for custom quota "quota=limitedYes
quota_limitPOSTintQuota limit in MB if quota is set to limited.
E.g: quota_limit=1000
No

Sample Code

Curl PHP SDK
curl --insecure -d "edit_record=1" -d "edit_ftp_user=FTP_USERNAME" -d "quota=limited" -d "quota_limit=QUOTA_LIMIT_MB" -u "USERNAME:PASSWORD" -X POST "https://hostip:2003/index.php?api=json&act=ftp"

Output

Array ( [msg] => FTP account edited succesfully. )
    Was this page helpful?
    Newsletter Subscription
    Subscribing you to the mailing list