🧡 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…


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

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


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

Learn more?

Network Triggers

Network Actions

YouTube video · Synchronize SFTP server files & documents

Need assistance?

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