How should be the command line to scan downloaded files

Discussion in 'ESET Smart Security' started by mohsen_bozorgy, Nov 28, 2008.

Thread Status:
Not open for further replies.
  1. mohsen_bozorgy

    mohsen_bozorgy Registered Member

    Joined:
    Nov 28, 2008
    Posts:
    1
    Hi
    I have a download manager software and want to add in it the command line to scan downloaded files right after it complete downloading.
    thnx
     
  2. doktornotor

    doktornotor Registered Member

    Joined:
    Jul 19, 2008
    Posts:
    2,047
    And the point of doing this would be exactly what? It's already been scanned once during the download if you enabled HTTP checking, and it's already been scanned second time once written on the disk after download. Scanning it for the second/third time won't exactly do anything useful here. Regardless, the below is a quick one for NOD32, fix the path accordingly for ESS and replace "%f" with whatever variable required by your download manager to pass the filename to it.

    Code:
    "C:\Program Files\ESET\ESET NOD32 Antivirus\ecls.exe" "%f" --base-dir="C:\Program Files\ESET\ESET NOD32 Antivirus" --mail --files --arch --sfx --rtp --adware --unsafe --unwanted --pattern --heur --adv-heur --preserve-time --action=clean --quarantine --no-log-all --scan-timeout=30
    
     
Thread Status:
Not open for further replies.