Configuring an FTP server
Enter the hostname and port your FTP server is listening on (if you haven't changed this you can leave this field blank and DeployHQ will use the default port 21).
Enter your username and password, then enable passive (PASV) mode if your server supports it. Finally, if your FTP server doesn't report hidden files such as .gitignore by default, you can enable the option to Force the server to report hidden files.
Caveats
If you see timeout issues when connecting your FTP server to DeployHQ, this might be due to the data transfer connection not being established correctly between both endpoints. You might also see 425 Unable to build data connection: Connection timed out
when debugging this situation.
If this is the case, make sure to use PASV
, as this mode tends to help create a connection properly to your server. Mind that you might need to open the PASV-corresponding ports in your server to allow this kind of connection. More information on this topic can be found here.
If you're seeing a certificate/SSL error
whilst trying to add your FTP server, it may be worth trying to connect via FTPS instead, as your server may not allow insecure logins.