all groups > iis ftp > october 2005 >
You're in the

iis ftp

group:

Upload of large files hangs at CWD command


Upload of large files hangs at CWD command J. van Dorsten
10/27/2005 7:29:12 AM
iis ftp: 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,
Re: Upload of large files hangs at CWD command Bernard Cheah [MVP]
10/28/2005 12:00:00 AM
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/


[quoted text, click to view]

Re: Upload of large files hangs at CWD command J. van Dorsten
10/28/2005 4:44:01 AM
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.

[quoted text, click to view]
Re: Upload of large files hangs at CWD command Bernard Cheah [MVP]
10/30/2005 12:00:00 AM
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

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


[quoted text, click to view]

Re: Upload of large files hangs at CWD command J. van Dorsten
10/31/2005 2:31:17 AM
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

[quoted text, click to view]
Re: Upload of large files hangs at CWD command Bernard Cheah [MVP]
11/2/2005 12:00:00 AM
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.

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


[quoted text, click to view]

Re: Upload of large files hangs at CWD command J. van Dorsten
11/2/2005 11:44:03 PM
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

[quoted text, click to view]
Re: Upload of large files hangs at CWD command J. van Dorsten
11/2/2005 11:46:01 PM
Sorry second screenshot must be:
http://www.snelstart.nl/schermafdruk2.jpg

[quoted text, click to view]
Re: Upload of large files hangs at CWD command stevenh NO[at]SPAM hcitraining.com
11/3/2005 9:15:36 AM
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

[quoted text, click to view]
Re: Upload of large files hangs at CWD command JimMcGowanInlet
11/9/2005 12:00:00 AM

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

The problem is the Routing and Remote Access Service. If you don'
need it, disable it, and wait about 5 minutes. Your problem should g
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 an
delete it. Then restart the "Routing and Remote Access" service. Onc
I deleted the "Nat Basic Firewall" my problem went away. You shoul
also install the hot fix from KB89806
http://support.microsoft.com/default.aspx?scid=kb;en-us;898060 I don'
think it plays a roll in this issue but it was installed as part of th
resolution so I can't say ignore it.

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

Hope this helps
Ji

--
JimMcGowanInle
-----------------------------------------------------------------------
JimMcGowanInlet's Profile: http://www.highdots.com/forums/m142
View this thread: http://www.highdots.com/forums/t305421
Re: Upload of large files hangs at CWD command passie
11/9/2005 3:31:05 AM
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

[quoted text, click to view]
Re: Upload of large files hangs at CWD command JimMcGowanInlet
11/9/2005 8:14:34 PM

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

I'm on eternal hold for Microsoft support now. I'll post what I fin
Re: Upload of large files hangs at CWD command JimMcGowanInlet
11/9/2005 9:39:21 PM

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

--
JimMcGowanInle
-----------------------------------------------------------------------
JimMcGowanInlet's Profile: http://www.highdots.com/forums/m142
View this thread: http://www.highdots.com/forums/t305421
Re: Upload of large files hangs at CWD command passie
11/10/2005 2:00:02 AM
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

[quoted text, click to view]
Re: Upload of large files hangs at CWD command Bernard Cheah [MVP]
11/14/2005 12:00:00 AM
Sorry, been busy. now... this log shows error after upload.
because of the delete ??

[quoted text, click to view]


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


[quoted text, click to view]
Re: Upload of large files hangs at CWD command Bernard Cheah [MVP]
11/14/2005 12:00:00 AM
Wow!

Thanks for the update.

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


"JimMcGowanInlet" <JimMcGowanInlet.1y9g1y@no-mx.forums.yourdomain.com.au>
[quoted text, click to view]

Re: Upload of large files hangs at CWD command stevenh NO[at]SPAM hcitraining.com
11/14/2005 3:24:50 PM
I owe you a beer. Or two.

Steven
Re: Upload of large files hangs at CWD command J. van Dorsten
11/22/2005 7:51:20 AM
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?

[quoted text, click to view]
AddThis Social Bookmark Button