Connection Settings In Your SFTP App
Use the following settings in your SFTP app to connect to your Files.com site.
Hostname
The hostname should be set to [your_subdomain].files.com
or the custom domain for your site, if applicable.
We do not recommend using IP addresses, as they may change. Using an IP address is not officially supported, and we are unable to assist with troubleshooting if you choose to do so.
Port
Use the default port 22
.
If port 22
is blocked or interfered with by your corporate firewall, try using port 3022
as an alternative.
If you're still unable to connect using either of these ports, contact your network administrator to find out why they are being blocked.
Ciphers
Your SFTP app and Files.com will only connect if both sides agree to use a secure cipher. Insecure ciphers may be rejected by either side.
Make sure your SFTP app uses a supported, secure cipher. Please refer to your app's documentation to learn how to configure ciphers for your connection.
Timeout
Your SFTP app should be able to connect to Files.com using its default timeout setting.
Very short timeout settings can cause connection issues, so ensure that the connection timeout value is set to 60 seconds or more.
Retry Logic
Some SFTP apps include a built-in retry feature. Your app should be able to connect to Files.com using its default retry settings.
If this setting is configurable, we recommend setting your app to attempt 3 connection retries, with 10-second intervals between retries. This will allow failed connections to one server in the hostname pool to automatically retry via another pool member.
Keepalives
Files.com will time out SFTP sessions that have been idle for 60 seconds. This helps prevent unused sessions from occupying connection resources.
Most SFTP apps complete transfers in progress and reconnect once the user issues another command. These idle timeouts are normal, and most SFTP apps handle them without issues.
However, some apps may not handle these timeouts gracefully. To prevent these idle timeouts, many apps offer a "keepalive" setting. If your app aborts a transfer or errors out due to the idle timeout message, you can enable keepalives every 30 seconds to maintain the SFTP connection and avoid timeout messages. The keepalive setting sends either a null packet or a dummy command to simulate user interaction between the app and our SFTP service.