SFTP Adapter -Text Encoding

Oct 24, 2016 at 10:39 AM|862 Views

Hi

I am using SFTP - Receiver Adapter and that converting a scenario which was in FTPS to SFTP. The previous FTPS was using File encoding in UTF-8 in Text mode. While testing in SFTP we found out that it was missing a carriage return due to which the testing failed. Can you please confirm how to set UTF-8 /Text mode as trasnfer in SFTP-Receiver adapter.

Related questions

4 Answers

You said in the receiver file carriage return was missing, i think this is could be problem with file content conversion not with encoding. Please explain your problem more clear so that we can able to help you.

If you want to set the target file encoding then SFTP adapter does not support encoding by default you can use the below two modules in receiver SFTP adapter.

What is the content of the file before it is transmitted? It only has 0D and you are expecting the system to insert the 0D 0A after it is processed as text? Also, if this was configuration that was setup on the receiver side for the FTP then just move that same setup to the sender FTP side and see if it solves your problem. As far as the SFTP adapter not having the text choice that makes sense because the data is encrypted for transit and isn't going to read like straight text.