Skip to Content

Extra line in SFTP Reciever adapter

Dear Experts,

I have a problem with reciever sftp adapter when iam placing a file with reciever SFTP adapater iam getting one extra empty line at the bottom, Does anyone got this issue and how to overcome it.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2015 at 04:40 AM

    Hi, We also facing same error my vendor is saying extra line is coming end of file (text file) and we are using XML2PLAIN Module in receiver SFTP adapter, please help.

    Appreciate your quick help.

    Regards,

    Venu

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2015 at 09:55 AM

    Hi Mohd,

    Can you let me know whether you are using any modules in your SFTP receiver channel which might be causing this issue.

    Also let me know your PI version & SFTP adapter you are working on.

    Regards

    Vishnu

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 25, 2016 at 11:46 AM

    Hello,

    We too are facing similar issue.

    There are two extra blank lines appended in the output file generated via SFTP adapter.

    Here are parameter are using:

    XML2Plain Transform.Class com.sap.aii.messaging.adapter.Conversion

    XML2Plain Transform.ContentType text/plain;charset=utf-8

    XML2Plain xml.addHeaderLine 0

    XML2Plain xml.conversionType SimpleXML2Plain

    XML2Plain xml.fieldSeparator 'nl'

    Could you please advise how to get rid of the extra blank lines?

    Thanks & Regards,

    Pratik

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.