The /ftp/import Robot

Transloadit is happy to import from whatever storage solution suits you best.

The /ftp/import Robot imports whole libraries of files from your FTP servers into Transloadit. No public key authentication is required. This Robot relies on password access..

Parameters

Name Type Default Description
host (required) String The host to connect to via FTP.
user (required) String The user to use for the FTP connection. For additional security we recommend setting up a separate FTP user with a name that is hard to guess.
password (required) String The password to use for the FTP connection.
path (required) String The path on your FTP server where to search for files. Files are imported recursively from all sub-directories and sub-sub-directories (and so on) from this path.
ignore_errors Boolean false There might be an error coming up when trying to extract meta data from your imported files. This happens for files that are zero bytes big for example. Setting this to true will cause the Robot to not stop the import (and the entire Assembly) when that happens.
passive_mode Boolean true Determines if passive mode should be used for the FTP connection.

Example use cases

Our /ftp/import 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.

Import files from your FTP server

{
  "steps": {
    "imported": {
      "robot": "/ftp/import",
      "result": true,
      "host": "example.org",
      "user": "YOUR_FTP_USER",
      "password": "YOUR_FTP_PASSWORD",
      "path": "path/to/file.jpg"
    }
  }
}

Related blog posts

Over the years we wrote the following posts about Our /ftp/import 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.