In my code I check the fileSize property...
I was afraid I'd have to resort to that!
At first glance (I'll tinker on my own, of course...) it would appear that this solution prevents a user from uploading an empty file.
Can anyone supply an alternative to this approach, or failing that provide me with some feedback on the idea of
testing for a blank filename and a file size of zero to identify cases where no file was uploaded? (Can you have a blank filename but a size > 0? I suspect that there's a way...)
On a side note, any thoughts on why null isn't passed instead of a somewhat unpopulated FormFile object?
Thanks for the help!
[ March 21, 2006: Message edited by: Kyle Cartmell ]