Changing an FTP User’s Path

By default, your main FTP (cPanel) user will have and FTP path to the user’s home folder, and each FTP user you create after that will have a path that you specify with you create the account in cPanel > FTP accounts.

Unfortunately, cPanel’s interface does not currently let you change the FTP paths for your main account or sub-accounts, but you can easily change these in the FTP user configuration files. Each cPanel user has a file in /etc/proftpd (yes, even if you use pure-ftp), which contains the information about the FTP users for that account. A sample FTP user file for the cPanel ‘user1’ may look like this:

newuser:$1$K4v6EN_V$gmV/YZVYP1w/oJRy/72cg.:2110:2098:user1:/home/user1/public_html/newuser:/bin/ftpsh
user1:$1$21PI_llg$mkBe12xsL2K3YZPSkM.3..:2110:2098::/home/user1:/bin/ftpsh
user_logs:$1$21PI_llg$mkBe12xsL2K3YZPSkM.3..:2110:2098:user1:/usr/local/apache/domlogs/user1:/bin/ftpsh

If you want to change the FTP root for any of the users, simply make the change in this file and restart your FTP service.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

5 Ways to Get a User’s Disk Usage

This may seem pretty simple, but I see a lot of questions about how to get a user’s disk space...

500 Internal Server Error help

First remember that “Internal Server Error” does not mean a server problem. It implies an...

Adjust Email Quota

If you need to adjust your email mailbox quota, you can do so from within your cPanel account.1)...

Common cPanel Commands List

Most Common Linux Cpanel Commands for Server Admins & Cpanel Users .Limit webuser resources...

Cpanel Not Loading Properly

The issue is due to the domain using cloudflare:When using cloudflare, you'll need to access...