-   Linux - Newbie (
-   -   How do I create a new FTP user? (

lupus6x9 09-01-2008 08:47 PM

How do I create a new FTP user?
I want to create a Web hosting site. I purchased a reseller account, but I don't know what to do. I have enough experience with PHP to create a database and a folder for the user, but I don't know how to create a new FTP user so that the visitor can automatically have generated for him/her instantly a FTP login and restricted access to a folder. I would also like to know if (and how) I can add quotas, max. file sizes, and file type restrictions to that FTP user, but for now I just want to figure out how to make one. (Kudos if you can tell me also the other things.)

I have searched for hours, asked questions on other forums, and practically given up. How can I do this?

I must have FTP installed on my Web host, since I can connect to FTP. How is it that so many Web hosts can easily create FTP accounts for people, but I can't figure it out?!

I don't know what FTP program is being used. I could maybe PM you a phpinfo() result; I don't know if that'll help. I don't know where else to look.

My hosting account has no disabled PHP functions, and I also have Cron jobs, if that helps. I don't think I can install other software on it, but I really don't know. I'm using a master reseller plan on Kryptonite Host (, if that helps, too.

Please, I just want to know how to create FTP users. This is really frustrating me.

Thanks in advance for any help you might bring me!


jschiwal 09-01-2008 09:15 PM

Probably more information is needed. Looking at the site, they have a demo cPanel interface that includes a graphical setup for adding ftp users and setting up quotas. There is also a section to setup ssh shell access. You might try adding a user or two manually using their panel, and then logging into ssh and then explore what ftp server is used and how it is configured. Learn that before trying to automate the process.

All times are GMT -5. The time now is 12:12 AM.