Upload document causes asp worker process to recycle

S

Sunil Menon

Dear All,
I have written an application in ASP.Net where clients can upload
their document on the WebServer.
<input type="file" id="FileToUpload" name="FileToUpload">
The function
FileToUpload.PostedFile.SaveAs(filePath)
takes more than 3 mins to upload a 600kb jpg file, in a network
connected by a modem...as a result asp worker process gets
recycled...is there a way to speed-up, prevent this other than
changing the machine.config settings?
Is there a better way to upload files? Can we use XMLHTTP object and
read the file bytes from the client and then do a post?

Please help...

TALIA
Many Regards
Sunil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top