Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Upload of large files hangs at CWD command

35 views
Skip to first unread message

J. van Dorsten

unread,
Oct 27, 2005, 10:29:12 AM10/27/05
to
Hi,

We run IIS on a windows 2003 server, and have a problem with uploading large
files to the server.

When a user uploads a large file (100MB) to the server, they report it gets
stuck somwhere at the last seconds. Most of our users upload through Internet
Explorer but we tried ourselfves and have the problem with an FTP client also.

We think it has something todo with refreshing the file directory after the
upload because the FTP client gets stuck on the CWD command. Ofcourse our
users with IE don't see that.

Do you have any idea of settings i can change on my server, or is this
problem known on IIS FTP?

Kind regards,
Jon van Dorsten

Bernard Cheah [MVP]

unread,
Oct 28, 2005, 4:23:46 AM10/28/05
to
Haven't seen those.
It hang? forever? IIS ftp log status code?

how about other command ? ls, etc.

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


"J. van Dorsten" <JvanD...@discussions.microsoft.com> wrote in message
news:4C12571B-5BB1-49E0...@microsoft.com...

J. van Dorsten

unread,
Oct 28, 2005, 7:44:01 AM10/28/05
to
Hy thanks for your awnser.

Yes it hangs forever.

I went trough the logfiles on the server but could not find any status
codes? this is the part where an 100mb file is uploaded and IE hangs after
the upload.

08:18:30 82.151.38.18 [265]created /uploads/100mb.bin 226 0
08:18:55 82.151.40.113 [268]QUIT - 226 0
08:23:14 83.98.246.183 [269]USER anonymous 331 0
08:23:14 83.98.246.183 [269]PASS IEUser@ 230 0
08:23:14 83.98.246.183 [269]CWD /uploads 250 0
08:23:14 83.98.246.183 [269]CWD /uploads 250 0
08:23:20 83.98.246.183 [270]USER anonymous 331 0
08:23:20 83.98.246.183 [270]PASS IEUser@ 230 0
08:23:20 83.98.246.183 [270]sent /uploads/100mb.bin 550 5
08:23:20 83.98.246.183 [270]CWD /uploads/100mb.bin 550 267
08:23:20 83.98.246.183 [271]USER anonymous 331 0
08:23:20 83.98.246.183 [271]PASS IEUser@ 230 0
08:23:20 83.98.246.183 [271]sent /uploads/100mb.bin 550 5
08:23:20 83.98.246.183 [271]CWD /uploads/100mb.bin 550 267

There is no QUIT or CLOSED command from this ip adres..

I dont know of any other commands, it happens directly after uploading the
file in IE and LeapFTP.

Kind regards,
Jon van Dorsten.

Bernard Cheah [MVP]

unread,
Oct 30, 2005, 10:59:51 PM10/30/05
to
upload or download?
Does it happen when you try ftp.exe to upload?

I see one successful upload


08:18:30 82.151.38.18 [265]created /uploads/100mb.bin 226 0

while these are download


08:23:20 83.98.246.183 [270]sent /uploads/100mb.bin 550 5

08:23:20 83.98.246.183 [271]sent /uploads/100mb.bin 550 5

--


"J. van Dorsten" <JvanD...@discussions.microsoft.com> wrote in message

news:4E76AC6A-F525-4723...@microsoft.com...

J. van Dorsten

unread,
Oct 31, 2005, 5:31:17 AM10/31/05
to
Ftp.exe don't give any problems, that kind of logical because there you have
to give the CDW command yourself and its not automaticly requested by a
program.

The problem occurs when the user uploads a file.

Regards,
Jon van Dorsten

Bernard Cheah [MVP]

unread,
Nov 2, 2005, 1:41:16 AM11/2/05
to
Mm.. in this case. does it happen if you try ftp it on the server itself ?
Not sure what's wrong, but from the log, it is download that having problem
not upload.


"J. van Dorsten" <JvanD...@discussions.microsoft.com> wrote in message

news:47DD4754-D56E-423D...@microsoft.com...

J. van Dorsten

unread,
Nov 3, 2005, 2:44:03 AM11/3/05
to
No there is no problem when i upload the file on the server itself, i tried
it again today and made an screenshot to clairify the behaviour.

This is the result as the user sees it, the upload hangs at the last seconds:
http://www.snelstart.nl/schermafdruk.jpg

But when i check the file on the server the file is already completely
uploaded
http://www.snelstart.nl/schermafdruk.jpg

Here are the logs again, the first ip is the upload at the ftp server itself
the second is the one where it goes wrong (from my pc but also a lot of other
pc's have that behaviour).

#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2005-11-03 07:05:37
#Fields: time c-ip cs-method cs-uri-stem sc-status sc-win32-status
07:05:37 111.111.111.111 [674]USER anonymous 331 0
07:05:37 111.111.111.111 [674]PASS IEUser@ 230 0
07:05:37 111.111.111.111 [674]CWD / 250 0
07:05:40 111.111.111.111 [674]CWD /uploads 250 0
07:05:43 111.111.111.111 [674]CWD /uploads 250 0
07:05:43 111.111.111.111 [674]CWD /uploads 250 0
07:05:43 111.111.111.111 [674]CWD /uploads 250 0
07:05:50 111.111.111.111 [674]created /uploads/100mb.bin 226 0
07:05:54 111.111.111.111 [674]CWD /uploads 250 0
07:05:54 111.111.111.111 [674]DELE 100mb.bin 550 5
07:06:02 111.111.111.111 [674]CWD /uploads 250 0
07:09:59 **.***.***.*** [675]USER anonymous 331 0
07:09:59 **.***.***.*** [675]PASS IEUser@ 230 0
07:09:59 **.***.***.*** [675]CWD /uploads 250 0
07:09:59 **.***.***.*** [675]CWD /uploads 250 0
07:10:01 **.***.***.*** [675]CWD /uploads 250 0
07:10:01 **.***.***.*** [675]CWD /uploads 250 0
07:10:01 **.***.***.*** [675]CWD /uploads 250 0
07:23:11 **.***.***.*** [676]USER uploads 331 0
07:23:11 **.***.***.*** [676]PASS - 230 0
07:23:23 **.***.***.*** [676]QUIT - 226 0
07:24:19 **.***.***.*** [675]created /uploads/100mb.bin 226 0

Kind regards,
Jon van Dorsten

J. van Dorsten

unread,
Nov 3, 2005, 2:46:01 AM11/3/05
to
Sorry second screenshot must be:
http://www.snelstart.nl/schermafdruk2.jpg

ste...@hcitraining.com

unread,
Nov 3, 2005, 12:15:36 PM11/3/05
to
I'm seeing the exact same problem, but with files as small as 1MB. What
I'm seeing is:

1. No reported problems with files less than 1MB.
2. Occasionally hangs on the FTP client (and we use several - IE,
WS_FTP, Leech, Macromedia products) at the completion of the file
transfer, I would guess about 50% of the time.
3. No error reported on the IIS FTP log, or system error files.
4. If the client is abnormally terminated during the hang, the result
is a succesful transfer to the server.
5. The problem is relatively recent on an otherwise stable system
6. Microsoft Windows Server 2003, Standard Edition, SP1

Steven

passie

unread,
Nov 9, 2005, 6:31:05 AM11/9/05
to
I also have the same problem.
From what i have saw is that if i remove SP1 the upload works.
When i install SP1 again the problem is back.
but when i remove SP1 the file copying is slow again.
I also tried installing KB898060 but without any luck.

any advice would be good

JimMcGowanInlet

unread,
Nov 9, 2005, 2:14:34 PM11/9/05
to

I've got the same problem on a Win2k3 server after installing SP1. We
use an ftp script with windows scheduler for Symantec AntiVirus that
ftp's rapidrelease def files every 2 hours. After installing SP1 it
stopped working. If I use IE on the server and browse to the same file
and try to download it, the file seems to get downloaded completely and
then consistently hangs at the point I suspect it should be finishing
the process.

I'm on eternal hold for Microsoft support now. I'll post what I find
out after I speak to them.

JimMcGowanInlet

unread,
Nov 9, 2005, 3:39:21 PM11/9/05
to

Just a quick update. 2 hours on Hold and still waiting for Microsoft
support.


--
JimMcGowanInlet
------------------------------------------------------------------------
JimMcGowanInlet's Profile: http://www.highdots.com/forums/m1425
View this thread: http://www.highdots.com/forums/t3054213

JimMcGowanInlet

unread,
Nov 9, 2005, 9:58:25 PM11/9/05
to

Ok here is the final out come after 7 hours and 57 minutes on the phone
with Microsoft.

The problem is the Routing and Remote Access Service. If you don't
need it, disable it, and wait about 5 minutes. Your problem should go
away.

If you need the service, goto

START/PROGRAMS/ADMINISTRATIVE TOOLS\Routing and Remote Access

look for an object called "Nat Basic Firewall". Right click on it and
delete it. Then restart the "Routing and Remote Access" service. Once
I deleted the "Nat Basic Firewall" my problem went away. You should
also install the hot fix from KB898060
http://support.microsoft.com/default.aspx?scid=kb;en-us;898060 I don't
think it plays a roll in this issue but it was installed as part of the
resolution so I can't say ignore it.

My server is not used for Nat, but if yours is... you may need to get
more information before you delete the "Nat Basic Firewall".

Hope this helps
Jim

passie

unread,
Nov 10, 2005, 5:00:02 AM11/10/05
to
yeah this seems to solve the problem.
after 1 week searching on the internet, i'm happyu with the out come.
So no problems anymore @ here

Bernard Cheah [MVP]

unread,
Nov 14, 2005, 2:58:52 AM11/14/05
to
Sorry, been busy. now... this log shows error after upload.
because of the delete ??

> 07:05:54 111.111.111.111 [674]DELE 100mb.bin 550 5


"J. van Dorsten" <JvanD...@discussions.microsoft.com> wrote in message

news:7BB92A54-0CEB-4E52...@microsoft.com...

Bernard Cheah [MVP]

unread,
Nov 14, 2005, 2:59:50 AM11/14/05
to
Wow!

Thanks for the update.


"JimMcGowanInlet" <JimMcGowanI...@no-mx.forums.yourdomain.com.au>
wrote in message
news:JimMcGowanI...@no-mx.forums.yourdomain.com.au...

ste...@hcitraining.com

unread,
Nov 14, 2005, 6:24:50 PM11/14/05
to
I owe you a beer. Or two.

Steven

J. van Dorsten

unread,
Nov 22, 2005, 10:51:20 AM11/22/05
to
Yes, i was trying with an anonymous account, they cannot delete files so the
error is because of that.

I tried the solution below but it did not work for me, any other ideas maybe?

0 new messages