Pick up only loose files

Post Reply
User avatar
Terkelsen
Member
Posts: 126
Joined: Thu Sep 08, 2011 5:08 pm
Contact:

Pick up only loose files

Post by Terkelsen »

At first sight this might sound simple, but it has turned out to be quite challenging (at least to me :?)

I want Switch to pick up files from a certain directory on an FTP Server. This directory holds loose files and many folders. I only want to pick up the loose files on the first level - NOT the folders and NOT the files that are in these subfolders.

The number of folders and the names may vary, which means I can't use "Exclude folders named".

If I set the connection from the FTP Receive to exclude Job Folders it will leave the folders but still pick up files in those folders.

Going up one level on the FTP is not an option. The folder from which I'm picking up files, is the top folder (or at least I'm not allowed access to the level above)

Is there a way to pick up only loose files on the top level and nothing else?
freddyp
Advanced member
Posts: 413
Joined: Thu Feb 09, 2012 3:53 pm

Re: Pick up only loose files

Post by freddyp »

I have not tested it, but I would think that using * in "Define folder patterns" for "Excluding folders named" should do the trick.
User avatar
Terkelsen
Member
Posts: 126
Joined: Thu Sep 08, 2011 5:08 pm
Contact:

Re: Pick up only loose files

Post by Terkelsen »

Thanks Freddy. Works perfect!
Post Reply