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 » IBM MQ File Transfer Edition » transfer files in a hierarchy of folders

Post new topic  Reply to topic
 transfer files in a hierarchy of folders « View previous topic :: View next topic » 
Author Message
fundoo
PostPosted: Tue Oct 12, 2010 11:43 pm    Post subject: transfer files in a hierarchy of folders Reply with quote

Novice

Joined: 04 May 2005
Posts: 13

I am trying to accomplish transfer of files from

Folder structure at source:

/XYZ/first/second

to destination:
/ABC/first/second

files under folders first and second needs to be copied from source to destination. Also consider a third folder might get created dynamically and files under this folder needs to be transfer to the third folder in destination.

I having created a monitor at source for Directory /XYZ with recursion depth up to say 5.

I am using ${FilePath} at Source Agent for the Filename

Question is while specifying the destination directory can i somehow manipulate ${FilePath} to change the first level folder XYZ to ABC and use that for the

/XYZ/first/second --> /ABC/first/second
/XYZ/first/ --> /ABC/first/
/XYZ/first/second/third --> /ABC/first/second/third

I was trying to use the info in the following link. couldnt find a way to refer to part of the folder structure like

/ABC/${FilePath remaining folder structure from token2}

http://publib.boulder.ibm.com/infocenter/wmqfte/v7r0/index.jsp?topic=/com.ibm.wmqfte.admin.doc/variable_substitution.htm

Is this possible at all?

Or is there any other alternative

Thanks
KP
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 » IBM MQ File Transfer Edition » transfer files in a hierarchy of folders
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.