Author: WebD | Posted on: 2/13/2009 1:49:12 AM | Views : 350

Hello,

 When I upload a file:  FileUpload1.PostedFile.SaveAs("D:\web1" & FileUpload1.FileName)

 The files ContentLength property always returns 0 (zero).  Any ideas why it would do this?  I am running it in a development enviornment.  I have a third party upload control in the same application which is able to upload with no problems.  However the built-in asp.net control just creates the file in the specified folder with 0KB file size.

 
...

Go to the complete details ...