Fog Creek Software
Discussion Board




Welcome! and rules

Joel on Software

uploading in asp.net

I am about to commence a project that requires uploading files to a server.  Before I begin I was hoping for some feedback on the best approach to take or any potential problems.

The project requires the ability to accept uploads from many users at a time, with files ranging up to 5 megabytes in size.

I have noticed HtmlInputFile control loads uploaded files into memory, I can imagine that several people loading a few large files could effectively DOS the server.  Should I use a third party product or 'roll my own'?

uploader
Friday, October 10, 2003

Take a look at the asp.net forum (http://asp.net).  This is a frequent topic of discussion and you'll find TONS of information.  There was one good thread where a few people focused on coming up with the best solution (though unfortunately I don't have a direct link to it).  Rolling your own probably isn't as trivial as you might think. 

As far as third party solutions, AspUpload (http://www.aspupload.com) seems to be a popular one.  It isn't native .NET but works through interop.  The .NET version of ABCUpload (http://www.abcupload.com) seems to be a popular native component though I personally have no experience with it.

SomeBody
Friday, October 10, 2003

I did a search on the asp.net forum and came up with some good tips.

Thanks 'SomeBody'.

uploader
Friday, October 10, 2003

*  Recent Topics

*  Fog Creek Home