Question - How-to - Filter output from SFTP to a single list


I have the following flow:

SFTP does some function (upload) and then I do SSH to list ls -l the directory files where I uploaded the files, everything works fine, however the it returns the results duplicates as the number of the items in the SFTP

What would be the best tip on how to get only the first item in the list of SFTP or SSH list?

Here is a screenshot of the duplicated items and I just need the one time the content in stdout #

Screen Shot 2022-08-15 at 1.32.25 PM


1 Like

Hey @ansred,

Under the settings for the SSH node try telling it to execute only once that way it will run once rather than once for each input item.


Thank you good friend. That worked like a charm!