Author |
Message
|
anto8815 |
Posted: Mon Dec 03, 2018 5:59 am Post subject: Reading files from sub directories in Remote server |
|
|
Newbie
Joined: 21 Mar 2018 Posts: 3
|
Hi,
Is it possible to read the sub directories also in a remote server.
Tried by give /folder/*/ in the server directory, but not working. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Dec 03, 2018 6:19 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Can we assume you meant to post this in the Broker section not the MQ API one?
By "not working" do you mean it fails, or it's not scanning sub directories as you want? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
anto8815 |
Posted: Mon Dec 03, 2018 6:22 am Post subject: |
|
|
Newbie
Joined: 21 Mar 2018 Posts: 3
|
File input node is not scanning sub directories in SFTP |
|
Back to top |
|
 |
Vitor |
Posted: Mon Dec 03, 2018 6:36 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
anto8815 wrote: |
File input node is not scanning sub directories in SFTP |
Moved to correct section _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Dec 03, 2018 6:40 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
anto8815 wrote: |
File input node is not scanning sub directories in SFTP |
Why did you think it would?
From the product documentation:
Quote: |
Determines whether all subdirectories under the specified input directory must also be searched for files to process. If you select this property and the Remote Transfer property, only the top-level directory that you have specified on the remote system is searched for files. |
You should develop another process that scans for files and drops them into a local directory (directories) for IIB to process. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
anto8815 |
Posted: Mon Dec 03, 2018 6:51 am Post subject: |
|
|
Newbie
Joined: 21 Mar 2018 Posts: 3
|
You should develop another process that scans for files and drops them into a local directory (directories) for IIB to process.[/quote]
Copying to local directory is not the problem. I want the FIleInput node to scan the sub directories in remote server. This option is working in local by selecting the Include local subdirectories option
SFTP Folder structure
A-> B
A-> C
Remote directory config will have only the root folder name (eg: /A/ ). I want to read files from both B and C |
|
Back to top |
|
 |
Vitor |
Posted: Mon Dec 03, 2018 6:54 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
anto8815 wrote: |
I want the FIleInput node to scan the sub directories in remote server. This option is working in local by selecting the Include local subdirectories option |
And what you want is in direct contradiction to the part of the product documentation I posted for you, which is fairly clear that the FileInput node scans subdirectories when they're local but only scans the top directory when they're remote! _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|