|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
TXT file share retrive |
« View previous topic :: View next topic » |
Author |
Message
|
mjpnet |
Posted: Thu May 10, 2007 1:56 am Post subject: TXT file share retrive |
|
|
Novice
Joined: 09 May 2007 Posts: 15
|
Can I use MQ Batch Toolkit V1.2.0 to retrice files from a file share and put them in a message queue from MQ? and from a FTP Site?
Thanks in advance
mjp |
|
Back to top |
|
 |
RogerLacroix |
Posted: Thu May 10, 2007 10:16 am Post subject: Re: TXT file share retrive |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
mjpnet wrote: |
Can I use MQ Batch Toolkit V1.2.0 to retrice files from a file share and put them in a message queue from MQ? and from a FTP Site? |
Hello,
MQ Batch Toolkit (MQBT) can insert a file as a message to a queue from any path (i.e. local drive, network drive, UNC path, etc..)
MQBT does not have any builtin ftp capabilities but you could create a script that first does the ftp then invokes MQBT to insert the file. i.e.
Code: |
@echo off
echo Now doing ftp
ftp -n -s:ftp-data.txt 10.10.10.10
echo Now inserting the file.
mqbt Insert -p MQA1 -q TEST01.Q -f c:\temp\myftpdata.txt
echo Done. |
Hope that helps.
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
mjpnet |
Posted: Fri May 11, 2007 12:23 am Post subject: thanks |
|
|
Novice
Joined: 09 May 2007 Posts: 15
|
Hi,
thanks a lot for you help.
Under your's sugestions I will try it.
Best regards
mjp |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|