NAME
Kernel::System::DataValidation::Validator::FileUpload – Validator that verifies that a file as been uploaded.
PUBLIC INTERFACE
Provides a Check
method, that will be called by the Kernel::System::DataValidation backend.
Check()
Checks if the given files are available in the UploadCache. The FileUpload needs to be passed as the Arguments
parameter with the FormID.
my $True = $Validator->Check(
Arguments => [ 'FileUpload', $FormID ],
Value => {
1 => 'filename1.txt,
2 => 'filename2.txt',
}
);