Problem with HTML Input File

R

Robin

On an ASP.Net web page that has a HTML Input file control run on the server
side, is there any setting that limits the size of the file that can be
uploaded?
Is there any validation code that runs when the value of this type of
control is selected?
 
M

Michael Tkachev

Hi,

You can't validate a size of the file on the client.
You can change machine.config. Where you could set a file size.
also you can add a row from the machine.config file to the web.config with a
new value.
Default value is 4 Mb.

bye
 

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

No members online now.

Forum statistics

Threads
474,141
Messages
2,570,817
Members
47,367
Latest member
mahdiharooniir

Latest Threads

Top