JSCAPE
  • Products
    • Managed File Transfer
    • JSCAPE SaaS
    • MFT Gateway
    • MFT Monitor
    • All Products
  • Solutions
    • All Solutions
    • Secure File Transfer
    • AS2 Server Software
    • File Synchronization
    • Reverse Proxy
    • Compliance
    • DMZ Streaming
  • Pricing
  • Company
    • Blog
    • Company
    • Contact Us
    • Clients
    • Case Studies
    • Testimonials
    • Certifications
  • Support
    • Help Desk
    • Documentation
    • Customer Downloads
Get a demo

Automating FTP virus scans with kaspersky antivirus – part 2

Words by

John V.

Configuring JSCAPE MFT Server to auto-update Kaspersky database In Part 1 of this article, you learned how to automate virus scanning on files uploaded with JSCAPE MFT Server using the Kaspersky Antivirus 8 for Linux File Server. But of course, we know very well that new viruses are created every hour. So, your Kaspersky antivirus…

Published in:

Blog

/

Business Process Automation, JSCAPE MFT

Configuring JSCAPE MFT Server to auto-update Kaspersky database

In Part 1 of this article, you learned how to automate virus scanning on files uploaded with JSCAPE MFT Server using the Kaspersky Antivirus 8 for Linux File Server. But of course, we know very well that new viruses are created every hour. So, your Kaspersky antivirus database has to be updated if you want it to scan effectively.

Here in Part 2, we’ll teach you how to setup your JSCAPE MFT Server for automated updates. Basically, you’ll be setting up a regular schedule for those virus database updates.

Actually, Kaspersky Antivirus 8 for Linux File Server already comes with its own scheduling feature, which also allows a user to setup a scheduled update. It’s even possible to configure Kaspersky for automatic updates during the Initial Configuration process, which follows right after installation. If you enable automatic updates that way, Kaspersky will run automatic antivirus database updates every 30 minutes.

You can use those methods if you want. We’re just providing you with another option that can be carried out on your JSCAPE MFT Server Manager.

Just like in Part 1, we’ll be using triggers for this particular task. So go now to the Triggers node and click the Add button to add a new trigger.

mft server - add triggers from domain

Give the trigger a name (e.g. Kaspersky Virus Scan Update). For the Event Type, select Current Time. Click Next.

specify trigger parameters resized 600

Set the condition to the time you want the auto update to execute. Base the values on a 24-hour clock. So, for example, if you want Kaspersky to perform database updates at 11:30 PM everyday, then set the condition to ((Hour=23) AND (Minute=30)). Click Next.

trigger conditions expression resized 600

In the succeeding screen, click the Add button to add a trigger action.

specify trigger actions resized 600

Select Run Process from the Action drop-down list and then click OK.

mft server - selection action type run process

Next, click the Browsebutton beside the Programfield,

action parameters program browse resized 600

navigate to the folder that contains the kav4fs-control file and select it. Normally, you’d find it inside /opt/kaspersky/kav4fs/bin.

select kav4fs control

That should automatically populate the Program field like this:

action parameters program resized 600

Enter this into the Arguments field:

–task-start 6

This basically starts task ID number 6, which is the ID number of the default task responsible for updating the Kaspersky database.

kaspersky start task 6

Leave the Success Return Value field as is.

If you scroll farther down that screen, you’ll notice two fields requiring inputs. The first is the Output Stream field, while the second is the Error Stream field. You need to fill these in. You see, when the update task is run, it will generate a couple of outputs. The outputs may provide either a set of information regarding a successful run or a set of information regarding a failed run (i.e., one that has an error).

Since Kaspersky commands are normally entered in a terminal screen, the outputs are likewise generated there. However, in our case, the update command will be run in the background. Hence, you won’t be able to view the outputs on a terminal screen. Instead, you can view them later on in specially designated log files.

You can specify which log file will store the output of a successful run by specifying the file’s path in the Output Stream field. Similarly, you can specify which log file will store the output of a failed run by specifying that file’s path in the Error Stream field. To specify those paths, just click each field’s corresponding Browse button, navigate to the directory where you want to store the log file in question, give the file a name and click Select.

autoupdate log file

When you’re done specifying paths for the two fields, your Output Stream and Error Stream fields should look like the screenshot below. Of course, you may use a different set of file names and paths for your log files.

mft server action parameters   output error stream resized 600

Finally, check the Log actioncheck box. This will enable the system to automatically record the scans into the JSCAPE MFT Server activity log. Click the OK button.

You should be able to see your newly created trigger action in the list of trigger actions for that particular trigger. Click OK.

newly created trigger action

Once you see your newly created trigger in your list of triggers, click the Apply button.

mft server apply new trigger resized 600

Barring any unforeseen hitches, your managed file transfer server should call this trigger and perform automatic Kaspersky database updates at 11:30 PM everyday.

To run this trigger without waiting for the scheduled time, select it and click the Run button.

mft server run trigger resized 600

If you want to see whether the trigger actually fired, go to the Logging node and look for the relevant event there.

checking trigger in log resized 600

Note: For the steps outlined here, we are making the assumption that you have already configured Kaspersky with: the appropriate update source, i.e., Kaspersky Lab update servers or Kaspersky Administration Kit server, and the necessary proxy settings (if any).

These are all done in the terminal using a Linux root account. For more details regarding these settings, please refer to the Kaspersky Anti-Virus 8.0 for Linux File Server Administrator’s Guide.

Proceed to Part 3

Download JSCAPE MFT Server

Easy To Deploy, Easy To Administer, Easy To Manage

Ready to see how JSCAPE makes managed file transfer so much simpler? Schedule your demo now.

Request a demo

Popular Articles

View more by

JSCAPE
  •  
    1–2 minutes
    23/09/2025

    JSCAPE by Redwood, version 2025.3: New UI continues to make a splash

    Dive back into JSCAPE by Redwood with version 2025.3, bringing more modern UI updates to make using and navigating JSCAPE more intuitive. 

    Read article

  •  
    1–2 minutes
    19/08/2025

    Weathering the economic storm: Expert support is your enterprise file transfer system’s lifeline

    The global economic landscape can be described by one word: “uncertain”. Lingering effects from the 2020 pandemic, combined with new waves of international tariffs throughout 2025, have…

    Read article

  •  
    1–2 minutes
    30/07/2025

    Escape the grip: Why flexible MFT is key to enterprise agility

    Break free from costly vendor lock-in Let’s be blunt: some MFT vendors have built product suites that are less about true partnership and more about proprietary siloing.…

    Read article

  •  
    1–2 minutes
    23/07/2025

    Avoid downtime and threat actors: Getting the best of both worlds in MFT

    For enterprise organizations relying on managed file transfer (MFT) solutions, cybersecurity often feels like an arms race. The need to patch MFT software vulnerabilities to prevent breaches…

    Read article

Related Content

Read more about

JSCAPE MFT
  •  
    1–2 minutes
    30/07/2025

    Escape the grip: Why flexible MFT is key to enterprise agility

    Break free from costly vendor lock-in Let’s be blunt: some MFT vendors have built product suites that are less about true partnership and more about proprietary siloing.…

    Read article

  •  
    1–2 minutes
    03/07/2025

    Consolidate, deploy and thrive: JSCAPE’s formula for MFT success in uncertain times

    Global enterprises today are navigating a landscape marked by significant economic volatility. Fluctuating markets, shifting trade policies and persistent economic uncertainty are compelling enterprise organizations to reevaluate…

    Read article

  •  
    1–2 minutes
    31/03/2025

    SFTP vs. FTPS: Which file transfer software is best for business use?

    What is SFTP? SFTP is a file transfer protocol that’s normally packaged with Secure Shell (SSH), the network protocol most IT administrators use to access and manage…

    Read article

  •  
    1–2 minutes
    25/03/2025

    EDI integration with trading partners: 6 best practices

    Many large companies with high-volume transactions, especially those involved in e-commerce, manufacturing and retail supply chains, have long migrated from manual processes to Electronic Data Interchange (EDI).…

    Read article

Company

  • About Us
  • Contact Us
  • Clients
  • Case Studies
  • Testimonials
  • Privacy Policy
  • Certifications

Resources

  • Managed File Transfer
  • Secure File Transfer
  • Secure FTP Server
  • AS2 Server
  • Reverse Proxy
  • File Upload Processing
  • What Is An AS2 Server?

Support

  • Help Desk
  • Documentation
  • Customer Downloads
JSCAPE

Copyright © 2025 JSCAPE

  • Privacy Policy
  • Cookie Settings