Exclude subdirectories from FTP pickup
Posted: Thu Sep 29, 2016 10:50 am
I'm trying to pick up from a directory on an ftp server but not process any sub-directories or their contents, just the files in the directory itself.
Other forum postings suggest to put in the names of the subdirectories in the Adjusted by (rule 1) section of the FTP receive component. But the only option I can find is to use a folder pattern, and that doesn't seem to work for me.
The specifics are:
Ftp structure:
/DAVE/AAA
/DAVE/BBB
/DAVE/BBB/CCC
I only want to pick up files that are residing in /DAVE and not in the AAA or BBB directories.
Is what I want to do possible, and if so please point me in the right direction?
Thanks.
Other forum postings suggest to put in the names of the subdirectories in the Adjusted by (rule 1) section of the FTP receive component. But the only option I can find is to use a folder pattern, and that doesn't seem to work for me.
The specifics are:
Ftp structure:
/DAVE/AAA
/DAVE/BBB
/DAVE/BBB/CCC
I only want to pick up files that are residing in /DAVE and not in the AAA or BBB directories.
Is what I want to do possible, and if so please point me in the right direction?
Thanks.