September 27th, 2000, 12:02 AM
When i upload a file, i want to automatically scan the file with antivirus.How can I do that?
September 27th, 2000, 08:35 AM
Well, thats more of an OS specific thing. I can think of two ways to do it (on Unix or NT):
1) Make all uploads go into one directory. Then set up a 'cron' or 'at' job to scan the directory once an hour / day etc.
2) In your script that handles the upload, issue a system command to run your virus checker on the new file. It prolly wont be to interactive, but maybe you can set up logging.
Are you on Unix or NT?
September 27th, 2000, 09:38 PM
Thank you JSchoof..