Page 1 of 1

FTP fetch specific folder entries

Posted: Fri May 24, 2013 5:21 pm
by abonsey
I am running a demo copy of switch, so don't have much time. I am trying to retrieve files from a remote site. There are several folders on the remote site and inside each is 2 more folders (lets call them A and B). How do I use switch to scan each folder to the second level, identify the name of the subfolders, then copy the contents of each folder to my local machine ie putting in a folder A or B, THEN filter those files to find the PDFs.



Sorry to ask a lot, but trying to get something working quickly.

Any help greatly appreciated.

FTP fetch specific folder entries

Posted: Fri May 24, 2013 6:09 pm
by dkelly
Hello,



Create a new flow, select the "Receive and sort files" sample flow. Delete the Email receive element. Set all of the FTP parameters including user name, password and subfolder levels to '2'.

FTP fetch specific folder entries

Posted: Fri May 24, 2013 6:27 pm
by abonsey
Thanks for the reply.

This copies everything to one input folder.

How do I filter from subfolder A to input A, and subfolder B to input B?

FTP fetch specific folder entries

Posted: Fri May 24, 2013 9:59 pm
by dkelly
Change levels from 2 to 1.