Groups | Blog | Home
all groups > iis ftp > may 2005 >

iis ftp : IIS 6 FTP problem


Miroslav Knápek
5/24/2005 12:00:00 AM
Hello,

we are running Web Server Edition and we have troubles with FTP.
When files above approx. 5 MB are uploaded to server, files are successfuly uploaded,
but no confirmation come from server, so communication failed without any log event or error message.

Thank you very much for any advice.

Miroslav



Miroslav Knápek
5/24/2005 12:00:00 AM
Dear Bernard,

thank you very much:

Here is my FTPLOG listing:
#Fields: date time c-ip cs-username s-sitename s-port cs-method cs-uri-stem cs-uri-query sc-status sc-win32-status sc-bytes cs-bytes
time-taken cs-version cs-host cs(User-Agent) cs(Cookie) cs(Referer)
2005-05-24 11:17:16 82.99.129.29 knapek MSFTPSVC1 21 [136]USER knapek - 331 0 0 0 0 FTP - - - -
2005-05-24 11:17:23 82.99.129.29 knapek MSFTPSVC1 21 [136]PASS - - 230 0 0 0 15 FTP - - - -
2005-05-24 11:28:26 82.99.129.29 knapek MSFTPSVC1 21 [136]created /knapek/AVG7QT.DAT - 226 0 0 12226033 633954 FTP - - - -
2005-05-24 11:29:27 82.99.129.29 knapek MSFTPSVC1 21 [136]closed - - 421 121 0 0 694844 FTP - - - -

I used FTP.EXE, that says:

C:\Documents and Settings\Administrator>ftp www.mmsw.cz
System is connected to ns.mmsw.cz.
220 Microsoft FTP Service
User (ns.mmsw.cz:(none)): knapek
331 Password required for knapek.
Heslo:
230 User knapek logged in.
ftp> put c:\avg7qt.dat
200 PORT command successful.
150 Opening ASCII mode data connection for AVG7QT.DAT.
Connection was ended by remote host
ftp>

The uploaded file was 12 226 033 bytes.

Sincerely Miroslav


--

"Bernard" <qbernard@hotmail.com.discuss> píše v diskusním pøíspìvku news:erKDKRDYFHA.3188@TK2MSFTNGP09.phx.gbl...
[quoted text, click to view]


jeff.nospam NO[at]SPAM zina.com
5/24/2005 12:00:00 AM
On Tue, 24 May 2005 13:37:23 +0200, "Miroslav Knápek" <knapek@mmsw.cz>
[quoted text, click to view]

Neither the log nor the result codes show a successfully completed
upload. Are you sure the upload was a success?

Bernard
5/24/2005 12:00:00 AM
confirmation ? what tools you use to upgrade?
I would say typical client will tell you 'succesfully transferred xxxx @
xxxkbps...' etc

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


[quoted text, click to view]

Miroslav Knápek
5/24/2005 12:00:00 AM
Thank you for you reply.

That is it: Client didn't get answer from server "succesfully transferred xxxx @..."
We tried different FTP clients.

Sincerely
Miroslav
--

"Bernard" <qbernard@hotmail.com.discuss> píše v diskusním pøíspìvku news:u2AVr9CYFHA.1240@TK2MSFTNGP14.phx.gbl...
[quoted text, click to view]

Bernard
5/24/2005 12:00:00 AM
Even ftp.exe ?
what about the status code in ftp log file ?

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


[quoted text, click to view]

Miroslav Knápek
5/25/2005 12:00:00 AM
Hello Jeff,

yes, I am sure upload was completed successfully.
I also found in system event log information about over time of this connection.
Time is set to 300 sec.
I thought if communication is running, over time can not happen. Am I right or mistaken?

Thank you very much
Miroslav
--

"Jeff Cochran" <jeff.nospam@zina.com> píse v diskusním príspevku news:42a1c706.6816578@msnews.microsoft.com...
[quoted text, click to view]

Bernard
5/25/2005 12:00:00 AM
The event log you might see is the idle timeout.
But from your log, it doesn't shows that the upload was successful.

if you upload the file at the server itself. same error ?


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


[quoted text, click to view]

Miroslav Knápek
5/25/2005 12:00:00 AM
Pardon me, my english is bad.
I didn't understand your question: "if you upload the file at the server itself. same error ?"

What exactly does idle timeout mean?
Does it happen if upload take time more than limit?
Or it shoud only happen if no byte is moved within time limit?

Sincerely Miroslav

--

"Bernard" <qbernard@hotmail.com.discuss> píše v diskusním pøíspìvku news:uF%23xf8PYFHA.1092@tk2msftngp13.phx.gbl...
[quoted text, click to view]

jeff.nospam NO[at]SPAM zina.com
5/26/2005 12:00:00 AM
On Wed, 25 May 2005 11:51:10 +0200, "Miroslav Knápek" <knapek@mmsw.cz>
[quoted text, click to view]

Idle timeout is if the connection is ide, no data transferring across
it.

[quoted text, click to view]

Not unless the transmission has already stopped.

[quoted text, click to view]

That's it.

But you log still didn't show the file transfer completed. Was the
log from the same time as the transfer that you say completed?

Bernard
5/26/2005 12:00:00 AM
and for "if you upload the file at the server itself. same error ?"

I meant if you try to do the file uploading @ the server itself. E.g. go to
the ftp server, and try upload the file at that local machine.

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


[quoted text, click to view]

Miroslav Knápek
5/26/2005 12:00:00 AM
Hello Jeff,

thank you for your help.
Yes - event log has message in same time as IIS has. (IIS log uses local time shift 2 hours.)

Event Type: Warning
Event Source: MSFTPSVC
Event Category: None
Event ID: 10
Date: 24.5.2005
Time: 13:29:27
User: N/A
Computer: MMSWSERVER
Description:
User knapek at host 82.99.129.29 has timed-out after 300 seconds of inactivity.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.


Now I think I know that my problem is - no upload ended successfully confirmation comes.
But what can I do with it?

Sincerely Miroslav


--

"Jeff Cochran" <jeff.nospam@zina.com> píse v diskusním príspevku news:429f44f1.104577296@msnews.microsoft.com...
[quoted text, click to view]

Miroslav Knápek
5/26/2005 12:00:00 AM
Hello Bernard,

now I understood.
Uploading at local works well, but it takes 2 seconds only.

Sincerely Miroslav

--

"Bernard" <qbernard@hotmail.com.discuss> píše v diskusním pøíspìvku news:%23watCnbYFHA.2996@TK2MSFTNGP10.phx.gbl...
[quoted text, click to view]

Bernard
5/26/2005 12:00:00 AM
Mm.. in this case. it could be network connection issue.
Any proxy, firewall between the client machines and ftp server?

and I assumed you got the 'succesful upload' msgs when uploading at local
server.

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


[quoted text, click to view]

Miroslav Knápek
5/26/2005 12:00:00 AM
I am not quite sure, because a lot of my customers from very different locations complain to this problem.

There is only standard Windows 2003 SP1 Firewal on our server.

Thank you very much

Miroslav

--

"Bernard" <qbernard@hotmail.com.discuss> píše v diskusním pøíspìvku news:OJCaY5bYFHA.228@TK2MSFTNGP12.phx.gbl...
[quoted text, click to view]

Miroslav_Knápek
5/26/2005 12:00:00 AM
Hello Bernard,

I turn on Windows Firewall Log and here is its result:

date time action protocol src-ip dst-ip src-port =
dst-port size tcpflags tcpsyn tcpack tcpwin icmptype icmpcode info =
path
2005-05-26 13:31:29 DROP TCP 82.99.129.29 195.146.99.130 2582 =
20 40 A 69918819 1748594670 0 - - - =
RECEIVE

Could you help me with its evaluation?
Why there is port 20, if my FTP server runs on default port 21?

Sincerely Miroslav

--=20
=20
"Bernard" <qbernard@hotmail.com.discuss> p=ED=9Ae v diskusn=EDm =
p=F8=EDsp=ECvku news:OJCaY5bYFHA.228@TK2MSFTNGP12.phx.gbl...
[quoted text, click to view]
Bernard
5/26/2005 12:00:00 AM
It's ok. because 21 is the control port while 20 is the data channel. this
apply to active mode. Do all the clients having the same problem or only a
few ?

if you try to connect from another host remotely, do you able to upload it
and get a successful message ?

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


[quoted text, click to view]
Hello Bernard,

I turn on Windows Firewall Log and here is its result:

date time action protocol src-ip dst-ip src-port
dst-port size tcpflags tcpsyn tcpack tcpwin icmptype icmpcode info
path
2005-05-26 13:31:29 DROP TCP 82.99.129.29 195.146.99.130 2582 20
40 A 69918819 1748594670 0 - - - RECEIVE

Could you help me with its evaluation?
Why there is port 20, if my FTP server runs on default port 21?

Sincerely Miroslav

--

"Bernard" <qbernard@hotmail.com.discuss> píše v diskusním pøíspìvku
news:OJCaY5bYFHA.228@TK2MSFTNGP12.phx.gbl...
[quoted text, click to view]
Miroslav Knápek
5/27/2005 12:00:00 AM
I am not quite sure if all customers have same problem, but I think so.

Port 20 is not allowed in Windows Firewall even FTP is allowed.
Now I turned off Firewall completely and we will see.
If it is the problem, I will allow this port.

I let you know my result.

Thank you very much for your advices!

Miroslav

--

"Bernard" <qbernard@hotmail.com.discuss> píše v diskusním pøíspìvku news:%23cqUEXmYFHA.3184@TK2MSFTNGP15.phx.gbl...
[quoted text, click to view]

SkinlessFrank
10/12/2005 12:00:00 AM

Turning off the Firewall will not help this.

I have done so & I am still getting hundreds of errors (hosted FTP
except that my server will randomly reboot and often hangs completely.

I have heavy traffic on my server and FTP files over 100MB in size.


If anyone has ANY info, I would certainly appreciate it

Thanks,
S

--
SkinlessFran
-----------------------------------------------------------------------
SkinlessFrank's Profile: http://www.highdots.com/forums/m103
View this thread: http://www.highdots.com/forums/t128479
SkinlessFrank
10/12/2005 12:00:00 AM

Clarification - I am getting a message like the following:
"
User IEUser@ at host xxx.xx.x.xxx has timed-out after 120 seconds o
inactivity.

For more information, see Help and Support Center a
http://go.microsoft.com/fwlink/events.asp.
"

Type: Warning
Source: MSFTPSVC
Category: None
Event ID: 10
User: N/A

this is the only indication of a problem before my server crashes/hand
and needs physical "hard" re-boot :mad

--
SkinlessFran
-----------------------------------------------------------------------
SkinlessFrank's Profile: http://www.highdots.com/forums/m103
View this thread: http://www.highdots.com/forums/t128479
Bernard Cheah [MVP]
10/14/2005 12:00:00 AM
Can you repost your problem statement?
And always test ftp connectivity issue with ftp.exe first.

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


[quoted text, click to view]

SkinlessFrank
10/14/2005 12:00:00 AM

Here is MY problem:

Server running ONLY FTP services (web, et al. are off). The syste
mysteriously reboots occasionally. As more traffic hits the system
reboots become more frequent. Finally the system hangs fully (assum
blue screen), it is a dedicated hosted server and I have to remotel
reboot via a web app (1and1.com) or call their "support" team t
physically push the off/on button. Just last week the server die
completely and I had to re-deploy on a new hosted server.

The ONLY thing in the Event logs were the "Event ID: 10" that I liste
in my previous post.

I provided DUMP files to Microsoft with their crash analsys program
but they said it was "probably" hardware. This server (below) is
blade server IIRC, and my old one was similar, except it only had 512M
RAM and was a slower centrino processor

Server specs:
OS Name Microsoft(R) Windows(R) Server 2003, Web Edition
Version 5.2.3790 Service Pack 1 Build 3790
Other OS Description Not Available
OS Manufacturer Microsoft Corporation
System Name <removed>
System Manufacturer VIA TECHNOLOGIES, INC.
System Model P4M266-8235
System Type X86-based PC
Processor x86 Family 15 Model 2 Stepping 7 GenuineIntel ~2404 Mhz
BIOS Version/Date Award Software International, Inc. 6.00 PG
11/22/2002
SMBIOS Version 2.2
Windows Directory C:\WINDOWS
System Directory C:\WINDOWS\system32
Boot Device \Device\HarddiskVolume1
Locale United States
Hardware Abstraction Layer Version = "5.2.3790.183
(srv03_sp1_rtm.050324-1447)"
User Name Not Available
Time Zone Eastern Daylight Time
Total Physical Memory 1,015.48 MB
Available Physical Memory 766.12 MB
Total Virtual Memory 2.40 GB
Available Virtual Memory 2.28 GB
Page File Space 1.49 GB
Page File C:\pagefile.sy

--
SkinlessFran
-----------------------------------------------------------------------
SkinlessFrank's Profile: http://www.highdots.com/forums/m103
View this thread: http://www.highdots.com/forums/t128479
J.H
10/14/2005 4:41:32 PM
Hi there,

Typically, these problem of rebooting, hanging up more often because of
Power Supply, Memory, CPU Overheated. You might look into that!!

J.H
[quoted text, click to view]

Bernard Cheah [MVP]
10/17/2005 12:00:00 AM
Well, my knowledge per event id 10 for msftpsvc is when the user idle for
more that configured time, he/she will get disconnected and IIS will write
an event log entry for that. But this indicating that the hang/crash is
cause by ftp service.

I would suggest you fully patch the machine, run virus scanner and check
event log again.

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


[quoted text, click to view]

Patrick VS
7/4/2007 1:41:48 AM
Hi,

We have NEC servers and if we patch them, we cannot get any support anymore because its not comform by NEC.

Also, they servers and system software is only built on the type of hardware (thats what they say).

So my question is :

is there allready a separate patch (with KB number will be great to know) that can solve this problem?


regards,

Patrickvs


From http://www.developmentnow.com/g/90_2005_5_0_0_526383/IIS-6-FTP-problem.htm

Posted via DevelopmentNow.com Groups
Bernard Cheah [MVP]
7/5/2007 12:00:00 AM
what issue of support you referring ?

for event id 10
http://www.eventid.net/display.asp?eventid=10&eventno=35&source=MSFTPSVC&phase=1

this is idle timeout information event log. you can't do anything to stop
this.

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


[quoted text, click to view]

AddThis Social Bookmark Button