on 11-09-2012 11:21 AM
Hi Experts,
need your valuable advice here.
my scenario is File to File. source is File adapter and the receiver is SFTP.
by default SFTP adapter writes the data in binary mode but our third party wants the data in ASCII format. we dont have option in SFTP adapter to select the "write mode" like FTP adapter. How can i achieve this?
If i use java mapping for converting the data into US-ASCII format and sends to SFTP, will it work? because the SFTP adapter again writes the data in binary mode.
can i use MessageTransformation bean? or should i go with custom bean?
please advice.
Thanks,
--Naresh
I don't think that you need to do anything special.
PI sends data in UTF-8. US-ASCII is a subset of UTF-8
So you do not need a transformation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.