Submit a ticketCall us

AnnouncementsAre You “Flying Blind?”

When it comes to your complex IT infrastructure, you want to ensure you have a good grasp of what’s going on to avoid any fire drills that result from guesswork. Read our white paper to learn how proactively monitoring your IT environment can help your organization while giving you peace of mind.

Get your free white paper.

Home > Success Center > Serv-U Managed File Transfer & Serv-U FTP Server > Serv-U - Knowledgebase Articles > Large file transfers abort after XX minutes without completing

Large file transfers abort after XX minutes without completing

Table of contents

Updated April 27, 2017


This article provides information on the issue where a file transfer process aborts after xx minutes when setting up a secure IIS website using Microsoft's high security web hosting template.


All Serv-U versions


Using Microsoft's high security web hosting template for setting up a secure IIS website may experience problems with large file transfers. Large file transfers usually abort after a number of minutes even if they are active.
The cause of the problem is a change made in the template to the registry which sets an idle timeout for the TCP connections. The FTP protocol uses two connections. There is a command connection for issuing instructions to the server. Each time a data transfer is completed, it establishes a separate data connection. While on a data transfer, the command connection is idle which causes the disconnection. When the registry's idle timeout is already reached, it also triggers the command disconnection which disrupts any ongoing data transfer for any session as per the FTP standard.
The following is the registry key involved: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\KeepAliveTime The default is not to have the KeepAliveTime key at all, the template adds this. If a time-out is desired make sure the value is sufficiently large to accomodate all file tranfers (the value is in [ms]). Alternatively, an FTP client that periodically sends a command to the server during file transfers will also prevent the command connection from aborting.




Last modified