This question is locked. New answers and comments are not allowed.
Hi have anybody tried to validate the file that is being uploaded, and if it fails the validation, then we cancel the upload that is about to be going on?
I am trying to make a program that validates the file we are trying to upload, then if it fails the validation, there will be a message box to prompt the user, whether they still want to continue to upload that particular files.
FYI
I put the validation on UploadStarted, and it will call a web service to check the database, to make sure it fulfills the criteria
so does anybody know any possible way to cancel the upload?
Many thanks in advance
I am trying to make a program that validates the file we are trying to upload, then if it fails the validation, there will be a message box to prompt the user, whether they still want to continue to upload that particular files.
FYI
I put the validation on UploadStarted, and it will call a web service to check the database, to make sure it fulfills the criteria
so does anybody know any possible way to cancel the upload?
Many thanks in advance