03-18-2018, 06:00 PM
Hi Daniel,
Thank for the help. But that is not exactly what I wanted. In the case above, you are setting FileRejected to True AFTER the file is uploaded. Why go through the bother of letting them upload a 100 Mb file if I know I am going to reject it. For example, if I know I only allow files with the word "apple" somewhere in the filename, I should be able to abort the file upload before it starts if the filename does not contain the word apple.
Thank for the help. But that is not exactly what I wanted. In the case above, you are setting FileRejected to True AFTER the file is uploaded. Why go through the bother of letting them upload a 100 Mb file if I know I am going to reject it. For example, if I know I only allow files with the word "apple" somewhere in the filename, I should be able to abort the file upload before it starts if the filename does not contain the word apple.

