dg / ftp-deployment

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

SITE EXEC not understood #142

Closed zdenekgebauer closed 3 years ago

zdenekgebauer commented 3 years ago

Version: 3.4.0

Bug Description

line after[] = remote: chmod 0777 data in deployment.ini causes error

After-jobs:        
remote: chmod 0777 data
Error: Deployment\ServerException: 'SITE EXEC' not understood in phar:///app/build/deployment.phar/src/Deployment/FtpServer.php:2        

tested with protocol ftps://

Expected Behavior

Previous version 3.3 (phar) in the same situation works as expected and changes attributes.

Possible Solution

All servers does not support the "SITE EXEC" command. Maybe there should be some fallback with previous solution from version 3.3?