Hello Jonathan,
Thank you for posting question on Microsoft Windows Forum!
Based on the issue description as well as the provided error message. Well! The issue is not that you configured FileZilla wrong. It might be that the connection abruptly died during a heavy transfer (ECONNABORTED), and when FileZilla automatically tried to reconnect, the server actively rejected it (ECONNREFUSED).
Since Windows Server 2022 uses the built-in OpenSSH server for SFTP. Sometimes, transferring large files at high speeds can cause the sshd (OpenSSH) service to crash or hang. When FileZilla tried to reconnect, the service was no longer listening, resulting in ECONNREFUSED. The suggestion is to log into your Windows Server 2022 machine, open Services (services.msc), and look for OpenSSH SSH Server. If it says "Stopped," start it. In case it says "Running," right-click and restart it. For more information https://learn.microsoft.com/nb-no/windows-server/administration/openssh/openssh_install_firstuse
If the connection dropped exactly at that file size, the server might have forcibly closed the connection because it could not write any more data. Try to check the destination drive on the server. Make sure it is not completely full, and verify that there are no user storage quotas applied to the Windows account you are using for SFTP. On the other hand, since SFTP transfers everything over a single connection. During very fast, large file transfers, the client and server sometimes fail to exchange "keep-alive" messages because the channel is saturated with file data. The server assumes you dropped off and severs the connection. The suggestion here is to extend FileZilla timeout settings. In FileZilla, navigate to Edit > Settings > Connection. Increase the Timeout setting from the default (20 seconds) to 60 or 120 seconds.
Another point worth mentioning here is that many enterprise firewalls, antivirus programs, or cloud security groups monitor traffic. If they see a massive, continuous stream of encrypted data (almost 2GB in 89 seconds is ~21 MB/s), they may classify it as a data exfiltration attack and aggressively kill the connection. Worse, they may temporarily ban your IP address, causing the immediate ECONNREFUSED on the reconnect attempt. It is worth checking the firewall logs on the server or your network's perimeter firewall. You may need to whitelist your IP address or create an exception for large SFTP transfers.
Hope the response provided some helpful insight. If you find this answer useful, please feel free to hit “Accept Answer” so I know it addressed your concern.