Groups | Blog | Home
all groups > iis ftp > april 2006 >

iis ftp : Problem with IIS6 FTP and Windows Firewall


Ariel
4/8/2006 12:06:01 PM
Hi everyone !!

Have an odd problem. My server configuration is windows server 2003 with
IIS6 and Windows Firewall.

When I try to upload a file larger than 1Mb from any client to the FTP
Server, I do succesfully upload the file, but the connection in my client
keeps "freeze" and I have to cancel it manually (on the server side, the
session was disconnected as it finished the upload).
When the file is shorter (let's say, 100kb) the upload is done normally.

Now, if I turn off the Windows Firewall, it does not matter the size of the
file, the upload always finish succesfully, my client does not "freeze" and
in the server the connection remains until I disconnect it.

Windows Firewall Configuration:
PORT 21 and 22 Excepted from FW
FTP Server activated in the Local Area Connection, in the "Advance" menu

Any clues ?? :-)

Thanks,

Ariel

Ariel
4/9/2006 7:18:01 AM
Bernard,

Firstly, thanks for your help. Here the tests you asked:

I tried upload with ftp.exe and it does succesfully !!!! now I'm getting
more confused :-)

Below the IIS FTP log file using FTP.EXE

[227]USER upload 331 0
[227]PASS - 230 0
[227]created /upload/teste.mp3 226 0
[227]QUIT - 226 0

Now, same file, but using another FTP client (which continues to freeze)

[228]USER upload 331 0
[228]PASS - 230 0
[228]created /upload/teste2.mp3 226 0

It does not quit, it uploads the file, it ends the connection, but no log is
addded here....

Regards,

Ariel

[quoted text, click to view]
Bernard Cheah [MVP]
4/9/2006 12:32:44 PM
what if you try upload with ftp.exe ?

what's the status code in IIS Ftp log file ? 426?

--
Regards,
Bernard Cheah
http://www.iis-resources.com/
http://www.iiswebcastseries.com/
http://msmvps.com/blogs/bernard/


[quoted text, click to view]

Bernard Cheah [MVP]
4/13/2006 12:00:00 AM
This could due to passive mode issue. Read the port requirement for passive
mode
Information About the IIS File Transmission Protocol (FTP) Service
http://support.microsoft.com/?id=283679

--
Regards,
Bernard Cheah
http://www.iis-resources.com/
http://www.iiswebcastseries.com/
http://msmvps.com/blogs/bernard/


[quoted text, click to view]

AddThis Social Bookmark Button