File upload in Asp.Net pages,you have to care about these things,
for ex. You need to upload a file with more than 4MB. If u upload this size file,the uploading process will take more time and finally,the browser will show this error "The page cannot be displayed". So, u can't upload files with these size.
The uploading process will accept upto 4MB for file uploading. if u want to upload more than 4MB, u have to include this tag in a web.config file,
<system.web> <httpRuntime maxRequestLength="61440" /> </system.web>
put this code inside system.web tag.
you can specify the maximum file size in this tag -->"61440" in KB.
Microsoft recommended size for file uploading is upto 20MB.
But,you can upload more than this size.
I tried one MS-Word doc with 53MB.The file uploaded successfully.
Hope,this article will help u peoples,
Feel free to type comments.
Regards.....
|
No responses found. Be the first to respond and make money from revenue sharing program.
|