Author |
Message
|
chinnureddy |
Posted: Fri Oct 02, 2015 9:42 am Post subject: ^M Characters When Using FileOutput Node - V7 |
|
|
Newbie
Joined: 15 Sep 2013 Posts: 6
|
Hello All,
I have a message flow which takes an xml message and then will be transformed into a flat file, validated using message set and then FTP to other server using FileOutput Node.
When I check the files on Linux server(where broker is deployed) it has ^M characters on each record. Can someone tell how to get rid of them as the recipient system of the file can't comply with them?
Message Set - Header, Details & Trailer with Group Terminator as <CR><LF>
FileOutputNode - Records & Elements, Record Definition is "Record is whole File".
Is this due to delimiter being automatically set as Broker System Line End?
Thanks!! |
|
Back to top |
|
 |
Vitor |
Posted: Fri Oct 02, 2015 9:53 am Post subject: Re: ^M Characters When Using FileOutput Node - V7 |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
chinnureddy wrote: |
Is this due to delimiter being automatically set as Broker System Line End? |
No, it's due to your FTP settings not properly handling the transfer, mostly likely moving as binary not text between Windows and Linux. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Oct 02, 2015 10:02 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Are you sure you want the Group terminator to be <CR><LF> and not just <LF> ? _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
chinnureddy |
Posted: Fri Oct 02, 2015 10:14 am Post subject: |
|
|
Newbie
Joined: 15 Sep 2013 Posts: 6
|
Vitor - I didn't quite get that, the msgflow is deployed on Linux and is SFTP the file to another Linux environment. If FileOutput is doing SFTP it does in binary mode only right ?
mqjeff - Yes. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Oct 02, 2015 10:23 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
chinnureddy wrote: |
Linux and is SFTP the file to another Linux environment. |
chinnureddy wrote: |
mqjeff - Yes. |
Are you sure?
Do you know which platform is correct for <CR><LF> ?
Is the output file going to actually be processed on Linux? _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
|