on 06-05-2013 9:36 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.