Uploading Video’s Over 15 MB
|
| View previous topic :: View next topic |
| Author |
Message |
gyonis
Joined: 18 Sep 2005 Posts: 11
|
Posted: Thu Aug 17, 2006 1:12 pm Post subject: Uploading Video’s Over 15 MB |
|
|
Hi,
We’re building dynamic website for pop band with video section, when the admin try to upload video files (mostly mpeg, wmv) over 15 MB, it keeps loading in the browser’s status bar, but at the end I get “the page can not be displayed” error page, the programmer who’s working with me try to fix it using this:
In web.config is timeout="9000" )and put <httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="50000">
But it still doesn’t work, we have a DSL connection, so I don’t thing it’s the connection, we tried uploading 4 MB mp3’s and it worked, but most of the video clips would be more then 15 MB size.
Can any body help with this please, we’re on strict deadline, and this is the only thing we had lift. Thanx
And this is the code:
====================================================
if( ( File1.PostedFile != null ) && ( File1.PostedFile.ContentLength > 0 ) )
{
string fn = System.IO.Path.GetFileName(File1.PostedFile.FileName);
string SaveLocation = Server.MapPath("video") + "\\" + fn;
try
{
File1.PostedFile.SaveAs(SaveLocation);
Show_Message("The file has been added.");
Add_video(fn);
}
catch ( Exception ex )
{
Show_Message("Error: " + ex.Message);
}
}
else
{
Show_Message("Please select a file to Add.");
}
==================================================== |
|
| Back to top |
|
 |
|
|
gyonis
Joined: 18 Sep 2005 Posts: 11
|
Posted: Thu Aug 17, 2006 6:35 pm Post subject: Re: Uploading Video’s Over 15 MB |
|
|
| Any body knows any thing that can help please, I'm two days away from my deadline. Thanx |
|
| Back to top |
|
 |
|
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums. Click here to Register
If you are a current member here on DEVPPL, please login below:
|
|
|
|