cancel
Showing results for 
Search instead for 
Did you mean: 

Extra line in SFTP Reciever adapter

0 Kudos

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.

Accepted Solutions (0)

Answers (3)

Answers (3)

pratik_gandhi3
Explorer
0 Kudos

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

pvishnuvardan_reddy
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

pvishnuvardan_reddy
Active Contributor
0 Kudos

Hi Venu,

The same type of issue is being discussed in the below thread, can you check this.

Regards

Vishnu