M
macap.usenet
Hello,
I´ve a strange problem with my HttpPostedFile object.
I coded a File Upload where the user can upload a zip file. My code
looks like this:
HttpFileCollection files = Page.Request.Files;
HttpPostedFile file = files[0];
When I set a breakpoint at the second line and run the debugger,
the debugger tolds me in the properties of my object "file":
ReadTimeout = "file.InputStream.ReadTimeout" throws an Exception of
Typ "System.InvalidOperationException"
WriteTimeout = "file.InputStream.WriteTimeout"throws an Exception of
Typ "System.InvalidOperationException"
Does anybody have an idea what happens?
Regards,
Martin
I´ve a strange problem with my HttpPostedFile object.
I coded a File Upload where the user can upload a zip file. My code
looks like this:
HttpFileCollection files = Page.Request.Files;
HttpPostedFile file = files[0];
When I set a breakpoint at the second line and run the debugger,
the debugger tolds me in the properties of my object "file":
ReadTimeout = "file.InputStream.ReadTimeout" throws an Exception of
Typ "System.InvalidOperationException"
WriteTimeout = "file.InputStream.WriteTimeout"throws an Exception of
Typ "System.InvalidOperationException"
Does anybody have an idea what happens?
Regards,
Martin