File type filter for FTP export robot

Archived from the Transloadit support forum. Originally posted on April 7, 2014; details may be outdated, see our docs for current behavior. Original thread

Hi,

I am using Transloadit jQuery plugin to upload files to FTP server using /ftp/export robot. Is it possible to setup any kind of file type filter (e.g. only images and audio files), or is my only option to use poorly supported “accept” attribute of input form field?

Hey Primoz,

you can use our /file/filter robot to formulate complex filtering procedures and error out if they are not met. Check the docs here: https://transloadit.com/docs/conversion-robots#file-filter

Kind regards,
Tim

Co-Founder Transloadit
@tim_kos