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 » Most Appropriate Java API/CLASSfor FTP interaction with Z/OS

Post new topic  Reply to topic
 Most Appropriate Java API/CLASSfor FTP interaction with Z/OS « View previous topic :: View next topic » 
Author Message
rglack10
PostPosted: Wed Aug 03, 2011 9:54 am    Post subject: Most Appropriate Java API/CLASSfor FTP interaction with Z/OS Reply with quote

Apprentice

Joined: 06 Jul 2011
Posts: 34

Hi,

As the title states is there anyone who can give some info on which is the best JAVA API/CLASS for FTP interaction with Z/OS from a JCN node within a message broker flow? The broker will be windows/aix based.

I am aware of the file nodes input and output etc... This is a very specific task we want to achieve which is simply when a trigger is received in a message flow, log onto a z/os MF box and remotely FTP a file back to the broker within the same flow. We do not want the flow polling on a timed period basis only to perform a single read when the trigger is received hence why we are not using the fileInput node.

so.. TRIGGER INPUT > JCN NODE(FTP GET) > OUTPUT ...

I am amazed the new FileRead node does not offer this...

I have tried some variations of class in a JCN with limited success such as

URL
FTP Client
SUN TELNET CLASS etc

I am getting niggly errors with each way. Has anyone done this before?

Any constructive comments appreciated!
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Aug 03, 2011 10:03 am    Post subject: Reply with quote

Grand High Poobah

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

Why not use the trigger message to start a flow with a FileInput node on the front which does the ftp? This would prevent polling.

I'll leave others more qualified to advise on your actual question.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
rglack10
PostPosted: Wed Aug 03, 2011 10:10 am    Post subject: Reply with quote

Apprentice

Joined: 06 Jul 2011
Posts: 34

Vitor wrote:
Why not use the trigger message to start a flow with a FileInput node on the front which does the ftp? This would prevent polling.

I'll leave others more qualified to advise on your actual question.

Hi Vitor,

We have thought of this and it is a consideration however I am not a fan of having administration commands in message flows etc... Never have been.

But it could be a last resort but hopefully not necessary. I've just downloaded apache commons net which has good ftp and I will try this and see if it is any better.

I am hoping some java folk will bite at this because whilst I have done JCN etc I haven't done FTP before and I want to ensure a robust node and FTP method...

Thanks for your reply.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Aug 03, 2011 10:11 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Vitor wrote:
Why not use the trigger message to start a flow with a FileInput node on the front which does the ftp?


I hope you mean "use the trigger message to call a CMP API application that starts a message flow". Otherwise, you've said something that doesn't work.

I would upgrade to 7.0.0.2 and use the FileGet node, myself.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Aug 03, 2011 10:14 am    Post subject: Reply with quote

Grand High Poobah

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

mqjeff wrote:
Vitor wrote:
Why not use the trigger message to start a flow with a FileInput node on the front which does the ftp?


I hope you mean "use the trigger message to call a CMP API application that starts a message flow". Otherwise, you've said something that doesn't work.


Ok, not having the best day in terms of communication. Or anything else.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Aug 03, 2011 10:15 am    Post subject: Reply with quote

Grand High Poobah

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

rglack10 wrote:
We have thought of this and it is a consideration however I am not a fan of having administration commands in message flows etc... Never have been.


It's a valid point and a valid position.

I am hoping some java folk will bite at this because whilst I have done JCN etc I haven't done FTP before and I want to ensure a robust node and FTP method... [/quote]

I'm sure one will be along in a minute. Place is full of them....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
rglack10
PostPosted: Wed Aug 03, 2011 10:16 am    Post subject: Reply with quote

Apprentice

Joined: 06 Jul 2011
Posts: 34

mqjeff wrote:
Vitor wrote:
Why not use the trigger message to start a flow with a FileInput node on the front which does the ftp?


I hope you mean "use the trigger message to call a CMP API application that starts a message flow". Otherwise, you've said something that doesn't work.

I would upgrade to 7.0.0.2 and use the FileGet node, myself.


We are on 7.0.0.2, do you mean the FileRead node? See above comment regarding that...
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Aug 03, 2011 10:18 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

rglack10 wrote:
mqjeff wrote:
Vitor wrote:
Why not use the trigger message to start a flow with a FileInput node on the front which does the ftp?


I hope you mean "use the trigger message to call a CMP API application that starts a message flow". Otherwise, you've said something that doesn't work.

I would upgrade to 7.0.0.2 and use the FileGet node, myself.


We are on 7.0.0.2, do you mean the FileRead node? See above comment regarding that...


Hrm.

I guess I did mean the FileRead node - my fingers always want to type it out as FileGet.

And I'm just as surprised that it doesn't do FTP... I had thought it did.

I guess it's not just Vitor's day for not having a good day.
Back to top
View user's profile Send private message
rglack10
PostPosted: Wed Aug 03, 2011 10:20 am    Post subject: Reply with quote

Apprentice

Joined: 06 Jul 2011
Posts: 34

mqjeff wrote:
rglack10 wrote:
mqjeff wrote:
Vitor wrote:
Why not use the trigger message to start a flow with a FileInput node on the front which does the ftp?


I hope you mean "use the trigger message to call a CMP API application that starts a message flow". Otherwise, you've said something that doesn't work.

I would upgrade to 7.0.0.2 and use the FileGet node, myself.


We are on 7.0.0.2, do you mean the FileRead node? See above comment regarding that...


Hrm.

I guess I did mean the FileRead node - my fingers always want to type it out as FileGet.

And I'm just as surprised that it doesn't do FTP... I had thought it did.

I guess it's not just Vitor's day for not having a good day.


My day hasn't been much better with this issue... Maybe someone from the labs can update why no remote file read etc.. it does seem odd..
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Aug 03, 2011 10:33 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The basic java FTP classes should be fine.

Presumably the lack of remote file support in FileRead is a matter of development timing, rather than long term intent.

Of course, only the lab knows that for sure, and they're not allowed to say.
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 » Most Appropriate Java API/CLASSfor FTP interaction with Z/OS
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.