473,396 Members | 1,774 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,396 software developers and data experts.

File Upload question

Hi gang,
in the article <http://support.microsoft.com/default.aspx?scid=kb;en-us;323246#kb2>
(http://support.microsoft.com/default...us;323246#kb2), is
mentioned about the fact that when uploading a file, there is no possibility
to touch it in the server side until the whole file was uploaded to the memory
of the aspnet process.
My questions are:
1) What to do incase I need to allow upload of huge files (more then 1 GB)?
2) Was this behavior changed in ASP.NET 2.0?

Thanks,
Eli.
Jan 15 '06 #1
5 1554
ES> 1) What to do incase I need to allow upload of huge files (more then
ES> 1 GB)?

You should setup the web.config file or the machine.config file.

ES> 2) Was this behavior changed in ASP.NET 2.0?

It's the same.

Bye

Jan 15 '06 #2
Hello Giuseppe,
you are right about the web.config.
My problem is that there is no way of saving the file to disk before its
is all gets to memory, since if there are more then single upload of large
files (>1GB), then the memory of the server will be filled, probably recycle
of the asp_net service.
I can think of a workaround in which I can save chuncks of data to the disk,
but still I can get it all or nothing.

Eli.

ES>> 1) What to do incase I need to allow upload of huge files (more
ES>> then 1 GB)?
ES>>
You should setup the web.config file or the machine.config file.
ES>> 2) Was this behavior changed in ASP.NET 2.0?
ES>> It's the same.

Bye

Jan 15 '06 #3
Well I've the same problem. I'm trying to solve with an httpmodule that save
the file
before asp.net trap the error. but despite I'm able to save the file, IIS
continue to
show the error that file is too much long, and I don't know how to trap that
message.

Bye
Giuseppe

Jan 15 '06 #4
This post can help you a bit more

Bye

Jan 16 '06 #5
Which post?
This post can help you a bit more

Bye

Jan 16 '06 #6

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

Similar topics

13
by: Sky Sigal | last post by:
I have created an IHttpHandler that waits for uploads as attachments for a webmail interface, and saves it to a directory that is defined in config.xml. My question is the following: assuming...
4
by: Matt Jensen | last post by:
Howdy I've got a rather strange issue occuring. I used forms based .NET authentication, although I'm also setting some session variables when people login. However, I've found when people use...
7
by: pbd22 | last post by:
hi. i am having probs understanding how to grab a file being uploaded from a remote client. i am using hidden input fields for upload such as: <input id="my_file_element" type="file"...
1
by: lPrentice | last post by:
Hello, After all this time, Linux file permissions still confuse me at times. I have a Python web-based application with an file (images) upload module. The application is running on two remote...
1
by: lPrentice | last post by:
Hello, After all this time, Linux file permissions still confuse me at times. I have a Python web-based application with an file (images) upload module. The application is running on two remote...
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
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.