« Back to demos index

Store the originally uploaded files on your server

To store the originally uploaded files on your own server, simply use our /sftp/store robot.

Since this is a store robot, make sure to use templates! Templates are encrypted on our server, so you can safely provide your server username as opposed to showing them in your form's html code. » See full documentation

"steps": {
  "store": {
    "robot": "/sftp/store",
    "user": "not_our_correct_user",
    "host": "sftp-demo.transloadit.com",
    "path": "uploads/make/this/dir/if/you/!_like/${file.url_name}",
    "url_template": "http://sftp-demo.transloadit.com:81/make/this/dir/if/you/!_like/${file.url_name}"
  }
}
$(function() {
  $('form').transloadit({
    wait: true,
    autoSubmit: true
  });
});

The form

For demos we allow a maximum of 30MB.

This form is html5-multiupload enabled. If your browser supports it, you can select multiple files and execute the template with them.