Aug 07, 2019 06:54 PM|coreysan|LINK
I have a var object as follows:
var files = HttpContext.Request.Form.Files;
In my form, I'm allowing the user to state the local paths of 10 pictures I want uploaded to the form, where
the first 3 paths are set, and the remaining 7 are still null.
This doesn't work:
if (!string.IsNullOrWhiteSpace(files.FileName)) files.CopyTo(filestream);
How can I get this right?