I’m working with C# and MVC3 and I’m trying to upload a text file that I know is not empty, but when I access the file (when debugging) via Request.Files["Cv"].ContentLength is 0.
How come this happens? I know the file is not empty, as it has some text strings there but I need to check that there..
Thanks a lot everybody in advance.
Best,
Manuel
I figured the problem out by myself: it was a matter of initializing the model in the right place.. thanks everybody for your help!