473,406 Members | 2,217 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,406 software developers and data experts.

Have the size limitation about FileUpload

ad
Have there any limitation about the size of the file uploaded by FileUpload
control?
Jun 9 '06 #1
4 1408
This is limited first by IIS and/or web.config (the default is 4 Mo). If I
remember it was improved in 2.0 but was limited in 1.1 by the available
memory (the whole file was loaded in memory whihc could be a problem for
huge files).

I would do the other way round. Do you have a specific problem ?

--

"ad" <fl****@wfes.tcc.edu.tw> a écrit dans le message de news:
%2****************@TK2MSFTNGP03.phx.gbl...
Have there any limitation about the size of the file uploaded by
FileUpload control?

Jun 9 '06 #2
ad
I have a text file of 18M, which is SQL script.
I upload it with UploadFile, then read it with a StreamReader.
I have test to files, one is 5M, it ok, but another one is 18M, it result in
an error page: page not found.

How can I do?
"Patrice" <sc****@chez.com> ¼¶¼g©ó¶l¥ó·s»D:%2****************@TK2MSFTNGP03.phx .gbl...
This is limited first by IIS and/or web.config (the default is 4 Mo). If I
remember it was improved in 2.0 but was limited in 1.1 by the available
memory (the whole file was loaded in memory whihc could be a problem for
huge files).

I would do the other way round. Do you have a specific problem ?

--

"ad" <fl****@wfes.tcc.edu.tw> a écrit dans le message de news:
%2****************@TK2MSFTNGP03.phx.gbl...
Have there any limitation about the size of the file uploaded by
FileUpload control?


Jun 9 '06 #3
Ad,
There is a maxRequestLength setting in the HttpRuntime section of
machine.config that is set to 4MB. You can override this in the web.config.
Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"ad" wrote:
Have there any limitation about the size of the file uploaded by FileUpload
control?

Jun 9 '06 #4
Have you checked the IIS log to see the status ? If this is not the size
limit, it could be perhaps also the script timeout (so the request ends and
its is seen client side as a response that you can't get ?).
Do you have a firewall (we had once a firwall that blocked jpeg images
against the jpeg vulnerability).

--
Patrice

"ad" <fl****@wfes.tcc.edu.tw> a écrit dans le message de news:
up**************@TK2MSFTNGP04.phx.gbl...
I have a text file of 18M, which is SQL script.
I upload it with UploadFile, then read it with a StreamReader.
I have test to files, one is 5M, it ok, but another one is 18M, it result
in an error page: page not found.

How can I do?
"Patrice" <sc****@chez.com>
¼¶¼g©ó¶l¥ó·s»D:%2****************@TK2MSFTNGP03.phx .gbl...
This is limited first by IIS and/or web.config (the default is 4 Mo). If
I remember it was improved in 2.0 but was limited in 1.1 by the available
memory (the whole file was loaded in memory whihc could be a problem for
huge files).

I would do the other way round. Do you have a specific problem ?

--

"ad" <fl****@wfes.tcc.edu.tw> a écrit dans le message de news:
%2****************@TK2MSFTNGP03.phx.gbl...
Have there any limitation about the size of the file uploaded by
FileUpload control?



Jun 9 '06 #5

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

Similar topics

0
by: Pat | last post by:
I am having a problem with large pdf files begin generated by fop from cocoon. There appears to be a file size limitation on the generated pdf files. When we run a small document everything works...
1
by: Sharon | last post by:
Hello, Is there a size limitation when using 'named pipes' on Windows OS ? If yes - how to forward a large size buffer ? Thanks
2
by: Rick Brough | last post by:
I'm in the early stages of researching the migrating of an OLTP Oracle database (size 200+ GB) and still growing to PostgreSQL 8.x. Before I spend alot of time documenting the migration path, I'd...
1
by: Lelle | last post by:
Sorry for crossposting - sent to wrong group first hello ! does anyone have more information regarding this issue? http://www.systemwebmail.com/faq/2.3.aspx a.. Attachment Size Limit? ...
2
by: Joseph Geretz | last post by:
I'm developing a Web Service using DIME to download and upload files from and to an IIS server. In order to increase the download filesize to unlimited, I have the following block in my App.config...
6
by: AB | last post by:
Hello all, I heard once that there is a limitation on the number of lines of code that a program can have when using C, but not for C++. Is this true? Any ideas?
1
by: amiben | last post by:
Hi everyone. I have an .asp file that is included in my sites pages which holds information in a string array. The array is so large that the include file is almost 900kb in size. Some array...
4
by: leegold58 | last post by:
Hi, Is there a "way around" the size limitation for Access? I'm thinking of something like spanning a huge table accross multiple databases... Something simple and that would preserve the...
1
by: walsug | last post by:
hello, I created a named pipe by CreateNamedPipe(),but some bug arised in my application,which I think has something to do with the pipe buffer size(out buffer size and in buffer size),this size...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.