The /file/virusscan Robot

Our /file/virusscan robot

Transloadit gives its customers the power to 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.

The /file/virusscan Robot's 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.

Example use cases featuring the /file/virusscan robot

See the robot in action with some live demos and code samples right here on our website:

Automatically reject virus-infected files with an error

Here you can see a quick example of the Assembly Instructions required to create this encoding pipeline. More information is available in the Live demo

 "steps": {
    "safe": {
      "use": ":original",
      "robot": "/file/virusscan",
      "error_on_decline": true
    "store": {
      "robot": "/s3/store",
      "use": "safe",
      "key": "YOUR_AWS_KEY",
      "secret": "YOUR_AWS_SECRET",
      "bucket": "YOUR_S3_BUCKET"

Did you know?

You can easily combine Robots to create powerful workflows, unique to your business.

This is the power of Transloadit.