The /file/virusscan Robot

Transloadit lets you reject, or direct files against different encoding Steps.

The /file/virusscan Robot rejects millions of trojans, viruses, malware & other malicious threats before they reach your platform.

Parameters

Name Type Default Description
error_on_decline Boolean false If this is set to true and one or more files are declined, the Assembly will be stopped and marked with an error.
error_msg String "One of your files was declined" This is the error message shown to your users (such as by the jQuery SDK) when a file is declined and error_on_decline is set to true.

Live demos

Our /file/virusscan Robot can be used in combination with other Robots, to create powerful workflows unique to your use case.
Here are a few example scenarios, and the required the Assembly Instructions to implement them.
You can also try demos of these examples right here, live on our website.

Automatically reject virus-infected files with an error

{
  "steps": {
    "virus_scanned": {
      "use": [":original"],
      "robot": "/file/virusscan",
      "result": true,
      "error_on_decline": true
    },
    "exported": {
      "use": [":original", "virus_scanned"],
      "robot": "/s3/store",
      "bucket": "demos.transloadit.com",
      "bucket_region": "us-east-1",
      "key": "YOUR_AWS_KEY",
      "secret": "YOUR_AWS_SECRET"
    }
  }
}

Our /file/virusscan robot blog posts

Over the years we wrote the following posts about Our /file/virusscan robot on our blog:

Did you know?

You can easily combine Robots to create powerful workflows, unique to your business.
This is the power of Transloadit.