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.
Exclude subdirectories from FTP pickup
- TheCaptain
- Member
- Posts: 62
- Joined: Mon Jan 18, 2016 4:22 pm
- Location: London
Do you have the correct permissions for Switch to Read / Write to the .FTP?
- TheCaptain
- Member
- Posts: 62
- Joined: Mon Jan 18, 2016 4:22 pm
- Location: London
In theory the method mentioned above should be adequate.
Have you tried Adjusting by rule : Including folders named
Whereby you include or exclude specific folders that you are after?
(Maybe drop a screengrab)
Have you tried Adjusting by rule : Including folders named
Whereby you include or exclude specific folders that you are after?
(Maybe drop a screengrab)
Ok, I worked it out now...
Subfolder levels - 1
Process these folders - All Folders
Adjusted by (rule 1) - Excluding folders not named
Folder name - DAVE*
on levels - 1
Nesting - Exclude nested subfolders as well
It took a lot of trial and error to get this to work. Maybe it'll help someone else out in the future.
Subfolder levels - 1
Process these folders - All Folders
Adjusted by (rule 1) - Excluding folders not named
Folder name - DAVE*
on levels - 1
Nesting - Exclude nested subfolders as well
It took a lot of trial and error to get this to work. Maybe it'll help someone else out in the future.