/ Forside / Teknologi / Udvikling / ASP / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
ASP
#NavnPoint
smorch 9259
Harlekin 1866
molokyle 1040
Steffanst.. 758
gandalf 657
smilly 564
gibson 560
cumano 530
MouseKeep.. 480
10  Random 410
Langsom fil upload med ASP
Fra : Jakob


Dato : 24-11-02 10:35

Jeg har skrevet dette indlæg til nogle af MS newsgroups, men uden held, så
derfor følger resten i engelsk, da jeg ikke havde tid til at oversætte den.
Da det er en teknisk nyhedsgruppe omkring ASP må jeg gå ud fra alle i dette
forum er vant til engelsk og derfor ikke ser dette som et problem...håber
det er OK. I svarer naturligvis bare på dansk...

*****************************************
I'm trying to figure out why the upload speed to my IIS is so slow, even if
uploading from a machine on the same LAN. I've seen some articles about the
UploadReadAhead that is default 48KB. I've tried to modify this value from
ranges at 18-2000 KB but with no result.

I'm using IIS 5.0 on a Windows 2000 Server. I've installed Urlscan and run
the IIS Lockdown tool. The Win2K has got SP3 + running Norton Antivirus
Coorporate Edition 7.5.

I've always had my slow upload problem, but it's now beginning to be a
problem for me and therefore I wan't to solve it now...

I've got a VB Script that should modify the UploadReadAhead value:

'** save as ura.vbs, and then run through cscript.exe
dim o
set o = GetObject("IIS://LocalHost/w3svc")
o.Put "UploadReadAheadSize", 128000 '** allows 128Kb postings
o.SetInfo
'Get UploadReadAheadSize property
UploadReadAheadSize = o.UploadReadAheadSize
WScript.StdOut.Write UploadReadAheadSize
Set o = Nothing
'** end of script

This works fine, because I can see from the print output that the value is
set correct. I've also restarted the IIS Admin service each time I modified
the value.

I'm using SA-FileUp 3.42 in an ASP page for the upload.

I've made som few tests using both a 4MB and 40MB file (PDF) in order to see
what "slow" means...

****Test using 4 MB file*****
------WITH URLSCAN FILTER TURNED ON--------
Request.BinaryRead, 17 seconds
SA-FileUp, 8 seconds
WebFolder, 8 seconds

------WITH URLSCAN FILTER TURNED OFF-------
Request.BinaryRead, 17 seconds
SA-FileUp, 8 seconds
WebFolder, 8 seconds

------OTHER TRANSFER MODES-----------------
Transfer to shared drive, < 1 second
Transfer using FTP, 3 seconds
*****************************

****Test using 40 MB file*****
------WITH URLSCAN FILTER TURNED ON--------
Request.BinaryRead, > 2 minutes (never finished)
SA-FileUp, 70 seconds
WebFolder, 26 seconds

------WITH URLSCAN FILTER TURNED OFF-------
Request.BinaryRead, > 2 minutes (never finished)
SA-FileUp, 72 seconds
WebFolder, 25 seconds

------OTHER TRANSFER MODES-----------------
Transfer to shared drive, 10 seconds
Transfer using FTP, 18 seconds
*****************************

As you can see it makes no difference whether the UrlScan filter is turned
ON/OFF.

Please help me:)

/Jakob



 
 
Søg
Reklame
Statistik
Spørgsmål : 177559
Tips : 31968
Nyheder : 719565
Indlæg : 6408938
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste