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 » FTP'ing using FileOutPutNode to multiple server directories

Post new topic  Reply to topic
 FTP'ing using FileOutPutNode to multiple server directories « View previous topic :: View next topic » 
Author Message
achocks
PostPosted: Mon Sep 10, 2012 7:28 am    Post subject: FTP'ing using FileOutPutNode to multiple server directories Reply with quote

Voyager

Joined: 28 Nov 2011
Posts: 82

Hi Everone!

I have searched the previous posts and found some having this same issue. But I did not find any clear solution.

My Broker Version: 7.02

Checked the Remote Transfer Property.
Server and Port: xxx.xxx.com
Security Identity: FTP2NETWORK (Did a mqsisetdbparms on it for FTP)
Server Directory: ????? (This directory changes based on the input message)


When I hardcode ther server directory it works fine. Since my requirement is to FTP to multiple directories of the same FTP server based on the message values

Is it possible to set the Server Directory Dynamically in the ESQL code?

Any other suggstions also welcome!

Thanks in advance!
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Sep 10, 2012 7:45 am    Post subject: Re: FTP'ing using FileOutPutNode to multiple server director Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

achocks wrote:
Is it possible to set the Server Directory Dynamically in the ESQL code?


Yes.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
achocks
PostPosted: Mon Sep 10, 2012 7:47 am    Post subject: Thank you! Reply with quote

Voyager

Joined: 28 Nov 2011
Posts: 82

Thank you so much!

I some how overlooked it.

LocalEnvironment.Destination.File.Remote

Thank you so much!!
Back to top
View user's profile Send private message
achocks
PostPosted: Mon Sep 10, 2012 10:53 am    Post subject: Reply with quote

Voyager

Joined: 28 Nov 2011
Posts: 82

Victor - Not sure I am doing anything stupid..

When I hardcode the directory in the file properties.. '\Directory1\Folder1' it works fine.

then..I cleared the directory..did the same using ESQL..

SET OutputLocalEnvironment.Remote.ServerDirectory = '\Directory1\Folder1';

Also tried..SET OutputLocalEnvironment.Remote.Remote.ServerDirectory = '\Directory1\Folder1';


I am getting Exceptions.

Trying to move to testing and got stuck with this..Any help would be greatly appreciated.

Thanks,
Chock.
Back to top
View user's profile Send private message
achocks
PostPosted: Mon Sep 10, 2012 11:04 am    Post subject: Reply with quote

Voyager

Joined: 28 Nov 2011
Posts: 82

Never mind..i got it..

It worked when I used..

outputlocalenvironment.destination.file.Remote.directory


Destination.
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 » FTP'ing using FileOutPutNode to multiple server directories
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.