IIS FTP service - download timeouts and restarts getting the data twice
        Posted  
        
            by 
                accel229
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by accel229
        
        
        
        Published on 2009-09-29T12:09:46Z
        Indexed on 
            2012/04/06
            5:32 UTC
        
        
        Read the original article
        Hit count: 540
        
We have an IIS FTP site on a Windows Server 2003 x64 machine.
Application Layer Gateway service is disabled (so http://support.microsoft.com/kb/931130 does not apply). Windows Firewall service is disabled as well. Connection timeout for the FTP site (there is only one) is set to 1,200 seconds = 20 minutes.
An external client can connect to the site, list directory contents and download small files. When a client attempts to download a large file (eg, if the download continues for 3 minutes, which is still under 20 minutes, but relatively long), the server sends all data, then the connection times out, the client issues REST / RETR commands attempting to restart the download since after the last byte (which I believe should succeed and receive exactly 0 bytes), and the server behaves as if the client tried to restart after byte 0, that is, it sends the entire file all over.
Any ideas on how to fix this?
© Server Fault or respective owner