Windows Server 2003 - FTP transfers whole file then timeout
Hello, I have an FTP site up and running as expected on a Windows Server 2003 IIS6 machine (that has Windows firewall turned on with an exception rule to let thru port 21) - all works well - I can configure the user to read and/or write (get/put) to the FTP serverI have a new Windows Server 2003 (that has Windows firewall turned on with an exception rule to let thru port 21) - the server allows me to download and upload however most of the time, when it gets to the end of the transfer, the whole file exists on the target (i.e. when uploading it exists on the server and when downloading it exists on the client), however the transfer task carries on as if there is more to download - the status of the transfer remains "in progress" until the server timeout kicks in and times out (and fails) the transfer (note the connection itself stays open, which is fine). I have used several FTP clients (including CoffeeCup, CuteFTP and DOS FTP) and all have the same result. Note that the FTP clients I have been testing are ones I have used numerous times on the previous server which appears to be configured (FTP site, Windows Firewall) the same however when connecting to the new server the behaviour is differentHowever ... when I turn off the Windows Firewall on the new server all works well - the FTP gets through, the file transfers and the FTP clients recognises the transfer is finished and completes successfully - hence it is not a permission issue on the FTP userNote that I have tried using active and passive FTP and have tried in addition to opening port 21, I have opened port 20Has anyone seen this before - I have looked around and although some people have had this no one seems to have found a solutionTravis
October 8th, 2009 2:57am
Hi Travis, Thank you for posting in windows forums The ideal configuration of FTP server across the firewall is to have FTP server should be allowed to accept TCP connection on port 21 and make tcp connections from port 20 to remote ephemeral port and also FTP server should accept tcp connections to any ephemeral port, which is very important.I believe that data is not getting copied to the destination, all that its tryint to do is a successful 3 way TCP handshake and then wait the for data transfer, when the bytes are copied ( as per the ftp client UI ) , these are really not writing into the window / buffer.Your problem is typically opening up the relevant ports because if there was a FTP server / FTP client problem , this should have occured even when your firewall polices were removed.sainath
!analyze
Free Windows Admin Tool Kit Click here and download it now
October 8th, 2009 4:32am
I am having the exact same problem with my 2003 server. Files under 10mb i get the 226 Transfer complete message from the server to my FTP client. Files over 10 mb i dont get that message. I added the exceptions as mentioned and it still does not work. When i turn off the firewall it uploads with out any issues.Any help would be great.ThanksBrian
November 25th, 2009 10:59pm