The FTP protocol was introduced when network firewalls did not exist. Using the FTP Service on a server (behind a firewall) creates a set of challenges because firewalls must work around the FTP protocol's shortcomings…
Overview
Sometimes, when using FTP & Cloud Actions with a regular FTP or an encrypted FTPS connection, the Task may fail unexpectedly with a Lost connection. Disconnected from server error message.
Most likely, this happens due to the firewall settings. If the StatefulFTP option is set to Enable, this may be the cause of the problem. To see the 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 disableValidate
To verify the new configuration, see the firewall settings again by entering the netsh advfirewall show global StatefulFTP command again:
netsh advfirewall show global StatefulFTP
Global Settings:
---------------------------------------------
StatefulFTP Disable
Ok. Learn more?
Network Triggers
- FTP Watcher
- SFTP Watcher
- WebDAV Watcher
- Amazon S3 Watcher
- Google Cloud Storage Watcher
- DigitalOcean Spaces Watcher
Network Actions

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