Skip to Content
avatar image
Former Member

FTP Receiver File adapter -- CRLF In output File in Windows environment.

Hi All,

Idoc to File : Receiver File adapter.

I use the endseparator 'nl' and the output file is coming correctly with NFS and It is not working when we are doing with with FTP.

Tested with NFS (Unix environment)

I used the endseparator 'nl' and the output file is coming with CRLF.

Tested with FTP (Windows environment)

When I tested the same the output file is coming with LF.

I tried by using the module "SAP XI Sample/ConvertCRLFfromToLF" which will convert from LFToCRLF.But it is serving my purpose.

Can anyone please suggest how I can get the CRLF in the file while putting in the output directory which is in windows environment.

Thanks

Seema

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 23, 2008 at 05:46 AM

    Hi,

    Please use endSeparator as '0x0D''0x0A'.

    which is also used for newline.

    warm regards

    mahesh.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 23, 2008 at 05:56 AM

    Do not mention endSeparator in content conversion parameters...by default XI puts newline as endSeparator

    It should work for NFS and FTP on Windows

    Add comment
    10|10000 characters needed characters exceeded