473,387 Members | 1,534 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Large File upload question

When posting a file upload I have taken in consideration the
maxRequestLength and set it accordingly. In my case where a posibility of a
30 meg file can be uploaded I set it to 30720.

Although its hard to test since I'm developing locally I am a little worried
about the time it might take to post this 30 mb file if the person is on
dialup. (worst case scenario) Is there anything that would timeout on me.
I have looked into executionTimeout in the web.config but this seems to
apply to the actuall processing time of aspnet and not the time a file takes
to be posted. To test I set it to two seconds and the file being uploaded
locally took about 15 seconds. So setting this attribute did nothing as for
the time the fileupload took to be posted.

Is there nothing to worry about when the file is being uploaded to the
server as far as timeing out is concerned. Let's say it takes 2 hours to
upload, will this happen without a timout?

Thanks

--
Ron Vecchi

Nov 18 '05 #1
1 1581
Hi Ron,

Based on my research and experience, the following knowledge base article
is useful to you. Please refer to it carefully

http://support.microsoft.com/default...b;en-us;295626
PRB: Cannot Upload Large Files When You Use the HtmlInputFile Server Control

It states that:

"...
Theoretically, the maximum file upload size is fairly large. However,
because of ASP.NET health monitoring, you cannot upload very large files in
ASP.NET. The ASP.NET worker process has a virtual address space of 2
gigabytes (GB). However, the ASP.NET worker process only uses a little more
than 1 GB because of health monitoring and memory fragmentation.
...
Note:
You can upload files that are larger than 100 MB in ASP.NET. However,
Microsoft recommends that you follow the maximum file upload sizes that are
mentioned in this article. To determine more precise file sizes, perform
stress testing on computers that are similar to the ones that will be used
in production.
..."

I hope it helps.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Marc | last post by:
Hello, I have a page where i can upload binary file (using the HTML input type=file approach). This works fine for relatively small files (<6MB)) but when files get bigger (13MB) there is a...
2
by: Tim | last post by:
I meet problem on uploading a file with a large file size. Below is my code, how can I modify in order to be able to upload a large file successfully ? Thank for your help. upload.html: <html>...
3
by: Steven Burn | last post by:
The application; Service on my webserver that allows a user to upload their HOSTS file for functions to verify the contents are still valid. Uses; 1. XMLHTTP (MSXML2) 2. FileSystemObject...
6
by: Thomas Due | last post by:
Hi, I am writing an ASP.NET project where I allow users to upload files to the server. I have changed to web.config to allow a total file size of 100MB. My problem is that if the total file size...
1
by: Nawaz Ijaz | last post by:
Hi All, Just need to know that how can it be possible to upload large file in chunks of bytes. Suppose i have a large file (100 MB) and i want to upload it in chunks (say 20 KB). How can this be...
6
by: Paul | last post by:
Hi there, When adding a "File Field" HTML control to an aspx page to facilitate file uploading, the following occurs: 1. You select a file that is larger than the allowed size limit. 2. Once...
1
by: Fred Herring | last post by:
I have a client/server application which uses webservices functions to upload large byte arrays to the server and httpwebrequests to download the data files. I would like to use http to also...
16
by: lawrence k | last post by:
I've a file upload script on my site. I just now used it to upload a small text document (10k). Everything worked fine. Then I tried to upload a 5.3 meg Quicktime video. Didn't work. I've...
6
by: howa | last post by:
Suppose the file is stored in "upload_tmp_dir ", so why I need to increase the memory limit? If I want to upload 100 MB, how large should I set? Thanks.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.