Posted on: 4/9/2012 5:23:13 AM | Views : 280

Hi,
I am working on an application that needs to be able to upload huge files.
Files that can be up to 200mb.
I need to know what I need to do to make the upload work with big files.
I already set up  the maxRequestLength="200000" in the web config.
And this is the code I am working with: (I am working with asp.net and c#)
protected void btnIns_Click(object sender,ImageClickEventArgs e) { try { string documentName=txtDocName.Text; //fPath="~\\foldername\\"+ConfigurationManager.AppSettings["folderfor file"].ToString(); SqlDateTime mfDate=(Convert.ToDateTime(DateTime.Now.ToShortDateString())); myclass mf=new myclass (); string strFileName=fupdDoc.FileName; string filePath=fPath+strFileName; string fileExtension=Path.GetExtension(fupdDoc.FileName); stri ...

Go to the complete details ...