File Uploading is Slow
Hello, I appreciate any light someone could show me on this. An asp.net application i run allows downloads and uploads of files. It runs on IIS6.0 / win2003 server web edition. The problem I have is that the performance of uploading a file (using HTML input box) is incredibly slow (I am getting 37.5kb/s) whereas when downloading from the server it runs very fast (over 200kb/s). As very large files are being transferred it makes it useless when file uploading is this slow.
The file download is done using the Response.WriteFile() method.
The file upload is done using the HtmlInputFile saveas method as below:
Protected WithEvents UploadedFile As HtmlInputFile
UploadedFile.PostedFile.SaveAs(Path.Combine(destDi r, fileName))
My question is, is there a performance issue using the above command - is there a faster method, or a configuration in the web.config file perhaps that could increase the speed?
Many thanks for any pointers.
Regards,
Doonbug
|