Is there any way to make upload files of large size? using fileupload control

Posted by Shreesh under ASP.NET on 10/24/2011 | Points: 10 | Views : 960 | Status : [Member] | Replies : 2
hello,
i have used the "FileUpload" control to upload files,and they are being saved onto the database successfully,i am trying to upload video files and since they are large in size,it displays an error.Is there any way to make upload files of large size?




Responses

Posted by: Blessyjees on: 10/25/2011 [Member] Bronze | Points: 25

Up
0
Down
For uploading large files add below statement into the Web.config

<httpRuntime 

executionTimeout="90"
maxRequestLength="4096"
/>


you can change the value of maxRequestLength="4096" as per your file size,i.e. 8192 = 8 Mb, 16384 = 16 Mb, 65536 = 64 Mb

Blessy Baby
Digitalmesh Softech pvt Ltd
https://blessybaby.wordpress.com/

Shreesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vforvijay on: 11/3/2011 [Member] Starter | Points: 25

Up
0
Down
hi....Refer the below articles..
http://vbdotnetaddict.blogspot.com/2011/09/how-to-upload-5mb-or-more-file-size.html

Shreesh, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response