The /ftp/store Robot

We export to the storage platform of your choice.

The /ftp/store Robot exports encoding results to your FTP servers. No public key authentication is required. This Robot relies on password access.

Parameters

Name Type Default Description
credentials (required) String Please create your associated Template Credentials in your Transloadit account and use the name of your Template Credentials as this parameter's value. They will contain the values for your FTP host, user and password. While we recommend to use Template Credentials at all times, some use cases demand dynamic credentials for which using Template Credentials with their static nature is too unwieldy. If you have this requirement, feel free to use the following parameters instead: "host", "user", "password".
path String "${unique_prefix}/${file.url_name}" The path at which the file is to be stored. This can contain any available Assembly variables. Please note that you might need to include your homedir at the beginning of the path.
url_template String "http://{HOST}/{PATH}" The URL of the file in the result JSON. The following Assembly variables are supported.
ssl_url_template String "https://{HOST}/{PATH}" The SSL URL of the file in the result JSON. The following Assembly variables are supported.

Live demos

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

Store all uploaded files on an FTP server

{
  "steps": {
    ":original": {
      "robot": "/upload/handle"
    },
    "exported": {
      "use": [":original"],
      "robot": "/ftp/store",
      "credentials": "YOUR_CREDENTIALS",
      "path": "uploads/make/this/dir/if/you/!_like/${file.url_name}",
      "url_template": "http://ftp-demo.transloadit.com:81/make/this/dir/if/you/!_like/${file.url_name}"
    }
  }
}

Blog posts about our /ftp/store Robot

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