ftp - Set folder and file permissions without SSH -


My hosting provider refuses access to my shared hosting plan via SSH. The problem is that I have all the folders I want to set the permissions of 755 and all files to 644 but I do not know how to apply changes in all files and folders via FTP connection.

My guess is to use a cron job, but do not know how to do this Please advise

Have you tried using shell_exec via PHP?

If the shell_exec function is enabled in your web hosting, then first check one option may seek an option in your FTP client.

Comments

Popular posts from this blog

mysql - where clause in inner join query -

java - Why my included JSP file won't get processed correctly? -

php - MySQL Query for Advanced Search multiple criteria -