Skip to Content
0
Former Member
Nov 09, 2012 at 11:21 AM

SFTP encoding issue

178 Views

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