{"id":57,"date":"2015-03-07T15:34:22","date_gmt":"2015-03-07T15:34:22","guid":{"rendered":"http:\/\/eliteservermanagement.com\/issues\/?p=57"},"modified":"2022-05-02T12:04:17","modified_gmt":"2022-05-02T12:04:17","slug":"how-to-change-the-ftp-user-path-in-cpanel","status":"publish","type":"post","link":"https:\/\/eliteservermanagement.com\/issues\/how-to-change-the-ftp-user-path-in-cpanel\/","title":{"rendered":"How To Change the FTP user path in cPanel"},"content":{"rendered":"<p>cPanel does not allow you to change the FTP path for main account or sub accounts, but you can change it from the FTP user configuration file.<\/p>\n<p>By default, the cPanel user has a file in \/etc\/proftpd (even if you use pure-ftp the location is same) \/etc\/proftpd contains a file for each of the accounts on the server as below<\/p>\n<p># cat \/etc\/proftpd\/user<\/p>\n<p>user:$1$vAYD1RiQ$U7pJmHJvT5dFL.kzoJ8f6\/:519:518::\/home\/user:\/bin\/ftpsh user_logs:$1$vAYD1RiQ$U7pJmHJvT5dFL.kzoJ8f6\/:519:518:user:\/home\/.domlogs\/user:\/bin\/ftpsh<\/p>\n<p>You can edit the file for the domain and change the home directory as user:$1$vAYD1RiQ$U7pJmHJvT5dFL.kzoJ8f6\/:519:518::\/home\/user\/myfiles:\/bin\/ftpsh<\/p>\n<p>Once you made changes, save the file and then restart your pure-ftpd service<\/p>\n<p>by-<\/p>\n<p><b>eLite Server Management<\/b><\/p>\n<p>We Specialize In <a href=\"https:\/\/eliteservermanagement.com\/\">cPanel Server<\/a> Management<br \/>\nAffordable 24\/7 Technical Support Company<\/p>\n","protected":false},"excerpt":{"rendered":"<p>cPanel does not allow you to change the FTP path for main account or sub accounts, but you can change it from the FTP user configuration file. By default, the cPanel user has a file in \/etc\/proftpd (even if you use pure-ftp the location is same) \/etc\/proftpd contains a file for each of the accounts [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[12,2],"tags":[],"aioseo_notices":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/eliteservermanagement.com\/issues\/wp-json\/wp\/v2\/posts\/57"}],"collection":[{"href":"https:\/\/eliteservermanagement.com\/issues\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eliteservermanagement.com\/issues\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eliteservermanagement.com\/issues\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eliteservermanagement.com\/issues\/wp-json\/wp\/v2\/comments?post=57"}],"version-history":[{"count":3,"href":"https:\/\/eliteservermanagement.com\/issues\/wp-json\/wp\/v2\/posts\/57\/revisions"}],"predecessor-version":[{"id":259,"href":"https:\/\/eliteservermanagement.com\/issues\/wp-json\/wp\/v2\/posts\/57\/revisions\/259"}],"wp:attachment":[{"href":"https:\/\/eliteservermanagement.com\/issues\/wp-json\/wp\/v2\/media?parent=57"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eliteservermanagement.com\/issues\/wp-json\/wp\/v2\/categories?post=57"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eliteservermanagement.com\/issues\/wp-json\/wp\/v2\/tags?post=57"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}