cancel
Showing results for 
Search instead for 
Did you mean: 

Ignore Header record Parameter for SFTP Sender Adapter?

former_member183898
Participant
0 Kudos

Hello Experts ,

I am configuring File (CSV file) to File scenario , where I am using SFTP Sender Adapter.

Data in the file is coming with Header Record like below.

Eg.

"EMPID","MONTHENDDATE","HOUR","RATE"

"000225","20130428",40.00,6.82

I want to ignore the firsr record ( Header record ) while picking the file. Want to know how we can achieve this in SFT Sender Adapter , I tried

xml.documentSkipFirstRows parameter but it doesn't seems to be working.

I know in simple FTP Sender Adapter Document Offset parameter is used to ignore header records , although as I am using SFTP dont know the module configuration parameter to be used for this.

Appreciate your responses.

Thanks,

Pushkar

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Can you try with this NameA.addHeaderLine = 0 ( which will ignore the Headerline coming from XML document )

You can have the Message transformation bean added & have the above parameter added. I guess, this should work for you

rajasekhar_reddy14
Active Contributor
0 Kudos

I am not sure any such parameter available in SFTP or not, but you can skip those field at mapping level by building mapping logic.

use copyValue function,it works.