Import an entire folder of files from an SFTP Server
🤖/sftp/import lets you import entire folders of files from your SFTP server. When the processing is done, you can check the result JSON at the bottom to see which files were imported.
Step 1:
Import files from SFTP servers
We are happy to import from whatever storage solution suits you best.Learn more






"imported": {
"robot": "/sftp/import",
"result": true,
"credentials": "YOUR_SFTP_CREDENTIALS",
"path": "my_folder/"
}This bot imports whole libraries of files from your SFTP servers into Transloadit. This Robot relies on public key authentication
Step 2:
Convert, resize, or watermark images
We can resize, crop, and (auto-)rotate images, or apply watermarks and other effects, and much more.Learn more





"resized": {
"use": "imported",
"robot": "/image/resize",
"result": true,
"height": 130,
"width": 130,
"zoom": false
}This bot resizes, crops, changes colorization, rotation, and applies text and watermarks to images
Step 3:
Export files to Amazon S3
We export to the storage platform of your choice.Learn more
imported- https://demos.transloadit.com/my_resized/5d/64a5e681af4ba4a43b197100a84140/BRUNTSFIELD.jpg
- https://demos.transloadit.com/my_resized/51/f0640331da4e3da02b88480ec198ea/STOCKBRIDGE.jpg
- https://demos.transloadit.com/my_resized/b1/96bc5bb1cf4d6998d532c3f875f63b/.jpg
- https://demos.transloadit.com/my_resized/54/cba761315f49beaba9c438d2680aa8/desert.jpg
- https://demos.transloadit.com/my_resized/4f/ae7b9580ef4504b1d274d214dc0fe3/snowflake.jpg
- https://demos.transloadit.com/my_resized/94/1ac74b038c44f2960d44defbc00110/ravi-roshan-383162.jpg
resized- https://demos.transloadit.com/my_resized/21/9af6eca87e4d7d9de3a15d902a6e56/BRUNTSFIELD.jpg
- https://demos.transloadit.com/my_resized/6c/596a861cbc4544a4c2d0fe5542c06e/jpg
- https://demos.transloadit.com/my_resized/0c/458986cec94f1394abd40ce29b1a0e/STOCKBRIDGE.jpg
- https://demos.transloadit.com/my_resized/84/d87b235df847b6806384081c20e2ef/snowflake.jpg
- https://demos.transloadit.com/my_resized/75/86e0495ac344999932a84a66db1470/desert.jpg
- https://demos.transloadit.com/my_resized/90/b26e245f634da8b83253b6031ee746/ravi-roshan-383162.jpg
"exported": {
"use": [
"imported",
"resized"
],
"robot": "/s3/store",
"credentials": "demo_s3_credentials",
"path": "my_resized/",
"url_prefix": "https://demos.transloadit.com/"
}This bot exports encoding results to Amazon S3
Live Demo. See for yourself
Loading Uppy demo…
Build this in your own language
<!-- This pulls Uppy from our CDN -->
<!-- For smaller self-hosted bundles, install Uppy and plugins manually: -->
<!-- npm i --save @uppy/core @uppy/dashboard @uppy/remote-sources @uppy/transloadit ... -->
<link
href="https://releases.transloadit.com/uppy/v3.10.0/uppy.min.css"
rel="stylesheet"
/>
<button id="browse">Select Files</button>
<script type="module">
import {
Uppy,
Dashboard,
ImageEditor,
RemoteSources,
Transloadit,
} from 'https://releases.transloadit.com/uppy/v3.10.0/uppy.min.mjs'
const uppy = new Uppy()
.use(Transloadit, {
waitForEncoding: true,
alwaysRunAssembly: true,
assemblyOptions: {
params: {
// It's often better store encoding instructions in your account
// and use a `template_id` instead of adding these steps inline
steps: {
imported: {
robot: '/sftp/import',
result: true,
credentials: 'YOUR_SFTP_CREDENTIALS',
path: 'my_folder/',
},
resized: {
use: 'imported',
robot: '/image/resize',
result: true,
height: 130,
width: 130,
zoom: false,
},
exported: {
use: ['imported', 'resized'],
robot: '/s3/store',
credentials: 'demo_s3_credentials',
path: 'my_resized/',
url_prefix: 'https://demos.transloadit.com/',
},
},
},
},
})
.use(Dashboard, { trigger: '#browse' })
.use(ImageEditor, { target: Dashboard })
.use(RemoteSources, {
companionUrl: 'https://api2.transloadit.com/companion',
})
.on('complete', ({ transloadit }) => {
// Due to `waitForEncoding:true` this is fired after encoding is done.
// Alternatively, set `waitForEncoding` to `false` and provide a `notify_url`
console.log(transloadit) // Array of Assembly Statuses
for (const assembly of transloadit) {
console.log(assembly.results) // Array of all encoding results
}
})
.on('error', (error) => {
console.error(error)
})
</script>
So many ways to integrate
Transloadit is a service for companies with developers. And there are many ways developers can put Transloadit to good use inside your company to automate media processing.
Bulk imports
Add one of our import Robots to acquire and transcode massive media libraries.
Handling uploads
We are the experts at reliably handling uploads. We wrote the protocol for it.
Front-end integration
We integrate with web browsers via our next-gen file uploader Uppy and SDKs for Android and iOS.
Back-end integration
Send us batch jobs in any server language using one of our SDKs or directly interfacing with our REST API.
Pingbacks
Configure a notify_url to let your server receive transcoding results JSON in the transloadit POST field.
On-demand
Use our Smart CDN to adapt files on-demand and stream them directly to your users.