- Plesk for Linux
How to create FTP read-only user in Plesk?
Currently, there is no such functionality in Plesk.
If you would like to see this feature in Plesk, please vote for it at Plesk UserVoice portal.
Create an FTP account at Domains > example.com > FTP access > Add an FTP account page.
Check user's home directory at Domains > example.com > FTP access > johndoe > Home directory page.
Create a file called
.ftpaccessin the home directory from previous step at Domains > example.com > File Manager > + > Create File.
Add the following lines to the
<Directory /var/www/vhosts/example.com/httpdocs/directory_name> <Limit CWD PWD DIRS READ> AllowUser johndoe </Limit> <Limit ALL> DenyUser johndoe </Limit> </Directory>
directory_nameis the home directory from step 3 and
johndoeusername of the FTP user.
In order to hide the .ftpaccess file or any .file for users with FTP access perform the following:
Edit file /etc/proftpd.conf
Add the following directives: