Change default upload directory?

radioraheem

Member
PartnerNOC
Mar 8, 2006
5
0
151
Lansing MI
Hello All -

For a CPanel server running pure-ftp how do you go about changing the default upload directory? When we create accounts they are going to /home/user/public_html by default and we want to have them default to /home/user.

I've already tried looking at the pure-ftpd.conf and pdose files with no luck.

Any suggestions?
 

innovative2001

Active Member
Jun 5, 2006
29
0
151
Hello,

You can not set by default to /home/user because /home/user/public_html has already set on server in httpd.conf and that is the standard path where you have to upload your web content.
 
Last edited:

Manuel_accu

Well-Known Member
Jun 19, 2005
191
0
166
Hi,

Virtual users of pure-ftp are strored in /etc/pureftpd.passwd. You may do it by editing it

joe:$1$LX/3.F60$bYdYwsQOYIaWq.Ko.hfI3.:500:101::/home/ftpusers/joe/./:::::::::::::
change the /home/ftpusers/joe to as per yoru requiremetn and recreate the ftp database and restart it.

Please note that I have note implemented this method.... but this will do it.