AnsweredAssumed Answered

Get one random file from SFTP and save the file name

Question asked by frederic.pierre984432 on Mar 2, 2017
Latest reply on Mar 2, 2017 by Adam Arrowsmith

Hey All,

 

How can I get from a SFTP folder one random File, the filename. I just need to get the first two Characters of this file and save it as a Property.

The reason behind, is that in my subprocesses I need to make sure to configure the right file filters for the dependent set of files which all start with the same first two characters (XX+Different Naming Convention).

 

Its not important which file and file name to take first.

 

Thanks!

Outcomes