dg / ftp-deployment

A tool for automated deployment of web applications to an FTP server.
https://nette.org
Other
605 stars 89 forks source link

Change ftp_chmod to ftp_site #132

Closed chinloyal closed 4 years ago

chinloyal commented 4 years ago

This allows the permissions of the remote folder to be changed from deployment.ini file.

dg commented 4 years ago

Why it ftp_site better than ftp_chmod?

chinloyal commented 4 years ago

I realized when I was using this tool with ftp_chmod and tried to set or even change file permissions or directory permissions from the deployment.ini file it would not work. For example, uncommenting those values below and changing them would result in an error on deployment.

; default permissions for new files
filePermissions = 0777

; default permissions for new directories
dirPermissions = 0777

I'm not sure if it works for you, or maybe it works on the server you tested on. I am using SmarterAsp's ftp server.

dg commented 4 years ago

Can you try this 7b565d18007a080a5336cae5bf361b87ec53b8c9?

chinloyal commented 4 years ago

Thank you I will.