Daniel Kies wrote:
Does anyone know of a validator that can be plugged into the validator framework that will check file types for FormFile? This would be so a user can't upload certain extensions like .exe and the application will catch it..
There's nothing in the standard set of validation rules that would do this, so you'd have to implement your own validation rule. That shouldn't be too hard to do, whether based just on file name extension or using something more sophisticated like the lib David mentioned, but it does still require a custom extension to the validator framework.
L. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]