Thread: Antivirus

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Location
    Kuala Lumpur
    Posts
    15
    Rep Power
    0
    When i upload a file, i want to automatically scan the file with antivirus.How can I do that?

    Thank you.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Posts
    82
    Rep Power
    15

    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?

    Good Luck.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Location
    Kuala Lumpur
    Posts
    15
    Rep Power
    0
    Thank you JSchoof..

    I'm using NT. Actually, I coding with php3 and javascript. Do you know how to code the antivirus?

Similar Threads

  1. can not uninstall Symantec Antivirus
    By w2share in forum Antivirus Protection
    Replies: 27
    Last Post: July 21st, 2009, 10:02 AM
  2. Firewall and Antivirus question!
    By Nik in forum Antivirus Protection
    Replies: 2
    Last Post: September 27th, 2003, 11:13 PM
  3. Real-time Antivirus for Linux
    By siucorn in forum Antivirus Protection
    Replies: 4
    Last Post: September 16th, 2003, 10:25 PM
  4. Norton Antivirus 2003 WinXP Install Exited without Informing!
    By jerry_pclam in forum Antivirus Protection
    Replies: 1
    Last Post: May 20th, 2003, 10:33 PM
  5. Set antivirus??
    By shaq in forum Antivirus Protection
    Replies: 2
    Last Post: September 27th, 2000, 09:31 PM

IMN logo majestic logo threadwatch logo seochat tools logo