🧡 Skip to main content🔍 Skip to search
Thomas UnderwoodBy Thomas Underwood 🕜 Updated on January 27, 2023 at 1:30 pm

The FTP protocol was introduced when network firewalls didn't exist. Using the FTP Service on a server (behind a firewall) creates a set of challenges because firewalls must workaround the FTP protocol shortcomings…

Overview

Sometimes, if using FTP & Cloud Actions with a regular FTP or an encrypted FTPS connection, Task may fail unexpectedly with a Lost connection. Disconnected from server error message.

Most likely, this happens due to firewall settings. If StatefulFTP option is set to Enable, this may be a cause of the problem. To see current firewall settings, use the following command:

netsh advfirewall show global StatefulFTP

Global Settings:
---------------------------------------------
StatefulFTP                            Enable
Ok.

Fix connection problem

To fix the FTP connection problems, simply use the following command on the local machine (not on the FTP server's machine):

netsh advfirewall set global StatefulFTP disable

Validate

To verify new configuration, see firewall settings again, by entering netsh advfirewall show global StatefulFTP command again:

netsh advfirewall show global StatefulFTP

Global Settings:
---------------------------------------------
StatefulFTP                           Disable
Ok.

Learn more?

Network Triggers

Network Actions

YouTube video · Monitor an FTP server & send file via email

Need assistance?

If you have any questions, please do not hesitate to contact our support team.