Author |
Message
|
rsmart |
Posted: Wed May 27, 2009 7:15 am Post subject: Corrupt Zip File when transporting w/ FILEINPUT->FILEOUTP |
|
|
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 |
|
 |
fjb_saper |
Posted: Wed May 27, 2009 5:57 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20763 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 |
|
 |
mqjeff |
Posted: Thu May 28, 2009 4:29 am Post subject: |
|
|
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 |
|
 |
rsmart |
Posted: Thu May 28, 2009 6:26 am Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Thu May 28, 2009 6:36 am Post subject: |
|
|
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 |
|
 |
rsmart |
Posted: Thu May 28, 2009 7:15 am Post subject: |
|
|
Novice
Joined: 27 May 2009 Posts: 10
|
That made the work. Thanks a lot! |
|
Back to top |
|
 |
|