subhra74 / xdm

Powerfull download accelerator and video downloader
https://xtremedownloadmanager.com/
GNU General Public License v2.0
6.83k stars 1.1k forks source link

AntiVirus Scan After Download Completion #323

Open ghost opened 4 years ago

ghost commented 4 years ago

I use 360Total Security as an antivirus for my main system and I see that xdm has an automatic scan feature after download in the advanced settings. Can you provide us with a guide to integrating this?

Thanks, Love the app!

subhra74 commented 4 years ago

Thanks. I will create a guide soon

oasaph commented 3 years ago

How can I pass the file's pathname to the command line? Is there a placeholder for that? I've seen that there's a field for that, but how to pass the current download file path?

image

DrymarchonShaun commented 2 years ago

How can I pass the file's pathname to the command line? Is there a placeholder for that? I've seen that there's a field for that, but how to pass the current download file path?

image

@subhra74 I would also like to know how to do this, can we get a quick explanation here, just so it exists somewhere?

Nopparuj-an commented 2 years ago

Thanks. I will create a guide soon

Currently, I'm having the antivirus scan the entire download folder which is slow and not perfect. Could you just tell me what the variable for the file name is? image

SharpieMash commented 1 year ago

Thanks. I will create a guide soon

Currently, I'm having the antivirus scan the entire download folder which is slow and not perfect. Could you just tell me what the variable for the file name is? image

you can use winrar stock parameters? Captura

artemgur commented 2 weeks ago

It seems that I figured out how to make it work (at least on C# beta, version 8.0.29). It simply appends the file path to command line parameters, like this: [Antivirus executable] [Command line parameters] [Downloaded file path] As an example, working configuration for Kaspersky: image In this example, it seems to execute the following command: C:\Program Files (x86)\Kaspersky Lab\Kaspersky 21.17\avp.com SCAN "C:\path\to\file" To check that antivirus scan is indeed working, you can temporarily enable logging. Example for Kaspersky: image It will create log.txt file on desktop (obviously you will need to replace my username with your username) with information about the scan.