CentovaCast V3 - Change home dir of FTP

Read 3021 times
Hello, i have see in configuration files, the ftp is connected via mysql, i want to change the home_dir when autodj connect via client ftp.

The config:

SQLUserInfo accounts,settings accounts.username accounts.password settings.ccuid settings.ccgid CONCAT(settings.vhostpath,accounts.username,'/var/spool/') '/bin/false'

I want change default dir via ftp to /var/spool/media/UPLOADFTP

I changed and restart restart, nothing appened,

Can anyone help me?

Regards,
Pedro
Hello,

It should be /var/spool/media/uploadftp/

Note the slash at the end, but also note that this may not work at all, and that this will prevent your users from uploading intro files, and on demand files.


HTH
Doesn't work because pureftpd is not connected to mysql, no idea where you're getting that from but that's a v2 thing.