Home › Knowledgebase › KB-1918

Unable to Establish Data Connection Error Blocking FTP Uploads

Summary

This guide helps you troubleshoot and resolve: Unable to Establish Data Connection Error Blocking FTP Uploads. Follow the steps below to fix the issue.

Quick Tip: Need immediate assistance? 💻 Open a Ticket

Common Causes

When you attempt to upload website files using an FTP client, you may receive an error such as Unable to establish data connection or Transfer failed. This typically happens because your FTP client is using Active mode, which requires the hosting server to initiate a connection back to your computer. Most home routers and firewalls block these incoming connections by default, preventing the upload from completing.

Remember — If you host with us, you don't need to do this yourself — just Open a Ticket and our Brisbane team will get it sorted.

Quick Fix Steps

  1. Open your FTP client (e.g., FileZilla, Cyberduck, or WinSCP).
  2. Switch the transfer mode from Active to Passive.
  3. Retry the file upload.
  4. If the error persists, check your computer's firewall settings.
  5. If you cannot use Passive mode, configure router port forwarding for Active mode.
  6. If the issue continues, check your FTP server logs or contact your hosting provider.

Detailed Instructions

Switch to Passive Mode in FileZilla

  1. Open FileZilla and select Edit from the top menu, then choose Settings.
  2. In the left-hand panel, expand Connection and select FTP.
  3. Under Transfer Mode, select Passive.
  4. Click OK to save your changes.
  5. Reconnect to your server and attempt the upload again.

Switch to Passive Mode in Cyberduck

  1. Open Cyberduck and go to Bookmarks in the menu bar.
  2. Select your saved connection and click Edit.
  3. Locate the transfer mode option and set it to Passive.
  4. Save the bookmark and reconnect.

Switch to Passive Mode in WinSCP

  1. Open WinSCP and select Options from the menu, then click Settings.
  2. Navigate to Connection and select FTP.
  3. Choose Passive under the transfer mode settings.
  4. Click OK and try your upload again.

Troubleshooting

Check Windows Firewall

  1. Press Start and type Windows Security, then press Enter.
  2. Select Firewall & network protection.
  3. Click Allow an app through firewall.
  4. Ensure your FTP client is listed and allowed for both Private and Public networks.
  5. If it is not listed, click Change settings, then Allow another app, and add your FTP client.

Check macOS Firewall

  1. Click the Apple menu and select System Settings.
  2. Navigate to Network and select Firewall.
  3. Click Options (or Advanced depending on your macOS version).
  4. Ensure your FTP client is allowed to receive incoming connections.
  5. Save your changes and restart the FTP client.

Configure Router Port Forwarding for Active Mode

Only use this section if your hosting server does not support Passive mode. Passive mode is the recommended setting for most home and small business internet connections.

  1. Log into your home router's administration panel (usually via a web browser using the router's IP address).
  2. Navigate to the Port Forwarding or NAT section.
  3. Create a new rule to forward the FTP data port range (typically ports 20 and 21, or the specific range provided by your host) to your computer's local IP address.
  4. Save the settings and restart your router if required.
  5. Ensure your FTP client is set to Active mode and attempt the upload again.

Check FTP Server Logs or Contact Hosting Provider

  1. Log into your hosting control panel (e.g., cPanel or Plesk).
  2. Locate the Logs or FTP Logs section.
  3. Review the logs for the timestamp of your failed upload to identify if the connection was blocked on the server side.
  4. If you cannot resolve the issue after switching to Passive mode and checking your local firewall, Open a Ticket.
  5. Provide our Brisbane support team with the error message and the time the error occurred for faster troubleshooting.

Passive mode is the recommended setting for most home and small business internet connections because it allows your computer to initiate both the control and data connections, avoiding most router and firewall blocks.

If you are using a corporate or managed network, you may not have permission to change firewall settings. In these cases, contact your network administrator before making changes.

Remember — If you host with us, you don't need to do this yourself — just Open a Ticket and our Brisbane team will get it sorted.

Still Having Issues?

Need more help? If the issue persists after trying these steps, please open a support ticket and our team will assist you.

💻 Open a Ticket