Archived from the Transloadit support forum. Originally posted on January 31, 2012; details may be outdated, see our docs for current behavior. Original thread
Hey,
using the sftp robot the uploads url result returns me an url like this “http://tmp.keena.transloadit.com/upload/…”
Is there any way to get the absolute url of the file on my target server (as specified in the template)?
My template:
“steps”: {
"flash_video": {
"robot": "/video/encode",
"realtime": true,
"width": 660,
"height": 371,
"preset": "ipad-high"
},
"store_videos": {
"use": "flash_video",
"robot": "/sftp/store",
"user": "******",
"host": "******",
"path": "public/files/videos/${assembly.id}_${file.url_name}",
"url_template": "http://myurl.com/files/videos/${assembly.id}_${file.url_name}"
},
"extracted_thumbs": {
"count": 1,
"use": ":original",
"robot": "/video/thumbs",
"width": 660,
"height": 371
},
"store_thumbs": {
"use": "store_thumbs",
"robot": "/sftp/store",
"user": "******",
"host": "******",
"path": "public/files/thumbnails/${assembly.id}_${file.url_name}",
"url_template": "http://myurl.com/files/thumbnails/${assembly.id}_${file.url_name}"
}
}
Best regards,
Chris