The /file/virusscan Robot

We let 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.


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 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": {
    ":original": {
      "robot": "/upload/handle"
    "virus_scanned": {
      "use": [":original"],
      "robot": "/file/virusscan",
      "result": true,
      "error_on_decline": true
    "exported": {
      "use": [":original", "virus_scanned"],
      "robot": "/s3/store",
      "credentials": "demo_s3_credentials"

Blog posts about our /file/virusscan Robot

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.