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 » Corrupt Zip File when transporting w/ FILEINPUT->FILEOUTP

Post new topic  Reply to topic
 Corrupt Zip File when transporting w/ FILEINPUT->FILEOUTP « View previous topic :: View next topic » 
Author Message
rsmart
PostPosted: Wed May 27, 2009 7:15 am    Post subject: Corrupt Zip File when transporting w/ FILEINPUT->FILEOUTP Reply with quote

Novice

Joined: 27 May 2009
Posts: 10

I am trying to transport a zip file from one ftp folder to another ftp folder using the following nodes:

FILEINPUT(BLOB MSG DOMAIN)-->FILEOUTPUT

I am unable to open the file after it reaches the destination folder since it is corrupted. Nevertheless if I transport a .TXT it opens unchanged. The same problem occurs if I transport a word document. Is there a general encoding that I have to set in code? Please advice!
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed May 27, 2009 5:57 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

You need to make sure that the format on the message is set to MQFMT_NONE. Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Thu May 28, 2009 4:29 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

fjb_saper wrote:
You need to make sure that the format on the message is set to MQFMT_NONE. Have fun


There is no MQMD in this scenario.

rsmart - you're using FTP on both nodes? Are you enabling ascii mode on that?
Back to top
View user's profile Send private message
rsmart
PostPosted: Thu May 28, 2009 6:26 am    Post subject: Reply with quote

Novice

Joined: 27 May 2009
Posts: 10

There is no MQMD in this scenario fjb_saper.

Yes MQJeff I am using FTP on both nodes. I checked the Transfer Mode in both nodes and it happens that I have set the FileInput as Binary and the Output as ASCCI. Wich transfer mode should it be?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu May 28, 2009 6:36 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You want BINARY in both cases. You're shipping binary data,right? Not Text data, that should be converted between platform code pages...
Back to top
View user's profile Send private message
rsmart
PostPosted: Thu May 28, 2009 7:15 am    Post subject: Reply with quote

Novice

Joined: 27 May 2009
Posts: 10

That made the work. Thanks a lot!
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 » Corrupt Zip File when transporting w/ FILEINPUT->FILEOUTP
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.