PDA

View Full Version : Dynamically create/edit FTP accounts



mariorovw
10-06-2009, 03:40 AM
Hi, I need to dynamically create/edit FTP accounts on my bluehost.com hosted domain, from within a PHP script.

Basically I need to be able to dynamically create new accounts specifying the password, quota, directory, etc. I also need to dynamically edit the account's password so users can change their ftp password from within their private access in my site.

I think there must be a file somewhere where FTP accounts and their details are stored, so I think I'd just need to edit this file (that's just my guess). Can anyone please enlighten me?

Thanks

felgall
10-06-2009, 12:22 PM
There is an option in cPanel for creating FTP accounts but I doubt that there is access to update it from outside cPanel since the accounts are not configured for use by more than one user.