Question
· Sep 26

CHARSET options for the FTP outbound adapter

Hi ,

I am sending my DTL response (which is an xml stream) to an FTP out location.

My XML stream has CRLF , but after sending FTP'ing out , it displays as LF

before writing it to FTP

 

At FTP out location

What Chatset will do it ? Currently Charset is set as Binary.

 

Appreciate quick response.

Discussion (3)1
Log in or sign up to continue

You most likely need to configure the Format setting in your Business Operation, assuming you're using EnsLib.EDI.XML.Operation.FTPOperation or EnsLib.EDI.XML.Operation.FileOperation.  Set that to "w" to get the Windows-style CRLF line terminator.  Click the label in the Settings panel to get the full list of options.  Note that these are the same format codes used by the Output* methods in EnsLib.EDI.XML.Document, so you can do the same thing in your own code as well as in the Operation.  You can combine these codes.  For example "wt" would indicate Windows-style line terminators and tab indentation.