Page 1 of 1

Download a specific file from FTP

Posted: Mon Apr 18, 2016 3:06 pm
by LasseThid
Is it possible to have Switch download a specific file from a specific folder on an FTP-server?
I.e. an xml-file is sent to the flow by e-mail. The xml-file contains the filename of the pdf-file I need to use for that job.
Or would it be better to download everything from the ftp-server and then use the XML-pickup with Metadata alongside asset Pickup mode?

Re: Download a specific file from FTP

Posted: Mon Apr 18, 2016 5:28 pm
by gabrielp
I haven't used all of the options of the FTP receive configurator, but I don't think you can specify specific files (although you can select subfolders).

I would download everything, if you can, then do an XML-pickup if that is an option. Another thing to look at would be injecting, since you can specify specific files with an inject. You cannot do so over FTP, so you'd have to mount the destination as a regular volume or download the FTP contents to a non-automanaged folder to perform the inject.

Re: Download a specific file from FTP

Posted: Mon Apr 18, 2016 9:01 pm
by 3f8h.net
I´d use ncftp client command line (and have done this before with success).

Re: Download a specific file from FTP

Posted: Wed Apr 20, 2016 8:09 am
by LasseThid
I have two other workflows that use the Metadata alongside asset pickup mode, so that is definately an option, and probably the most efficient one as well as we have a customer that will upload up to 100 files at the same time.