Got a problem on setting ftp at cpanel.
I want to setting all the ftp user can upload only, but can not modify and delete the file which upload by themselves, is that possible do it in cpanel? thanks.
Jeff
Got a problem on setting ftp at cpanel.
I want to setting all the ftp user can upload only, but can not modify and delete the file which upload by themselves, is that possible do it in cpanel? thanks.
Jeff
If you have SSH access to the server then you can edit pure-ftpd.conf file and enable NOT to delete file option as given below :
vi /etc/pure-ftpd.confJust remove # in front of KeepAllFiles.# Allow users to resume and upload files, but *NOT* to delete them.
#KeepAllFiles yes
Now save changes and quit.# Allow users to resume and upload files, but *NOT* to delete them.
KeepAllFiles yes
Then restart FTP service on the server.
But from this option you can't deny from renaming the file name./etc/init.d/pure-ftpd restart
I cannot found the file pure-ftpd.conf under the found etc.
but i create the one anyway, wrote the code and restart ftp service.
still not work.![]()
Check your FTP server selection in WHM ....
Are you sure you are running pure-ftpd?
Cpanel also offers "ProFTPd" as an alternate server and you could possibly be running that server instead of pure-ftpd.
(I personally don't recommend ProFTPd for a lot of various reasons)