home *** CD-ROM | disk | FTP | other *** search
- /**/
- OPTIONS RESULTS
-
- DoorName='CheckVira'
-
- TempUploadDir='Files3:UP_TMP/TMP1/'
- CALL ADDLIB 'mebbsarexx.library',0,-30,0
- PARSE ARG LineNumber
-
- ADDRESS 'XTRUDER'
- CALL MESSAGE DoorName,LineNumber,"Please Wait Checking for Virus!",1
- CHECKPATH TempUploadDir /*|| File2Check*/
- IF RESULT > -1 THEN DO
- CALL MESSAGE DoorName,LineNumber,'The result was ' || RESULT
- CALL MESSAGE DoorName,LineNumber,'There is a virus in the uploaded file!!',1
- CALL HotKey DoorName,LineNumber,'Press any key...'
- ADDRESS COMMAND 'c:move ' || TempUploadDir || '*.* ' || 'DH5:BAD'
- END
- END
- CALL EXIT_DOOR DoorName,LineNumber
-