ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Reading files from sub directories in Remote server

Post new topic  Reply to topic
 Reading files from sub directories in Remote server « View previous topic :: View next topic » 
Author Message
anto8815
PostPosted: Mon Dec 03, 2018 5:59 am    Post subject: Reading files from sub directories in Remote server Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon Dec 03, 2018 6:19 am    Post subject: Reply with quote

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
View user's profile Send private message
anto8815
PostPosted: Mon Dec 03, 2018 6:22 am    Post subject: Reply with quote

Newbie

Joined: 21 Mar 2018
Posts: 3

File input node is not scanning sub directories in SFTP
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Dec 03, 2018 6:36 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon Dec 03, 2018 6:40 am    Post subject: Reply with quote

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
View user's profile Send private message
anto8815
PostPosted: Mon Dec 03, 2018 6:51 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon Dec 03, 2018 6:54 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Reading files from sub directories in Remote server
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.