1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Understanding Web Transfer Protocols
This guide details the file transfer protocols accepted on Infomaniak's Web Hosting and Cloud Server when connecting to ProFTPD servers.
Preamble
- With a Starter hosting (basic web page), only an FTP connection on port 21 (without SSL/TLS) is possible.
- When creating a website via Apache / PHP hosting, file access is possible via different protocols (FTP, SFTP, SSH).
- With a Node.js site, only SSH / SFTP are possible to access your environment.
FTP (File Transfer Protocol)
FTP connections in "active" and "passive" modes are supported (alternate between the two to try to resolve any potential issues).
Infomaniak opens the passive ports on its side [PassivePorts 42000 44000] but only for connections to its FTP server. The passive FTP mode involves the use of remote ports defined by the remote server, as well as local ports that can vary depending on the FTP software/client used.
Passive mode is mainly useful when the FTP software/client is behind a firewall or NAT router that blocks active FTP connections. However, in the Infomaniak infrastructure, active FTP connections are allowed, which means that using passive mode is generally not necessary.
Regarding PHP, it is not possible, by default, to manage this configuration in a centralized manner. Therefore, it is not viable for Infomaniak to open all ports to support all remote configurations, as this would be neither practical nor secure.
Overall, the infrastructure does not fully support outgoing passive mode FTP connections. For a smoother file transfer experience, it is recommended to use active FTP mode or explore more modern technologies such as SFTP (see below).
SFTP (SSH File Transfer Protocol)
Creating SFTP connections ensures high security for file transfers. Make sure you have activated SSH on your SFTP software/client and use port 22 for the connection: sftp://*****.
FTPES (Secure FTP with TLS/SSL)
Use FTPES for secure file transfers with port 21 and SSL/TLS encryption. With the Filezilla software, for example, select "Explicit FTP over TLS" to configure your FTPES software/client: ftpes://*****.
FTPaccess
Access to the FTPaccess configuration is available.
What is not supported
Public/Anonymous User
It is not allowed to connect as a public or anonymous user. You must have a valid user account to access your hosting space.
FTPs (Secure FTP on a custom port)
The FTPs protocol is not supported, which means that port 2121 is not open for this type of connection.