Question
How to create FTP read-only user in Plesk?
Answer
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.
Workaround
-
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
.ftpaccessfile:<Directory /var/www/vhosts/example.com/httpdocs/directory_name> <Limit CWD PWD DIRS READ> AllowUser johndoe </Limit> <Limit ALL> DenyUser johndoe </Limit> </Directory>Where
directory_nameis the home directory from step 3 andjohndoeusername of the FTP user.