GitHub user tadayosi opened a pull request:
https://github.com/apache/camel/pull/2463
camel-ftp - SftpOperations should set byte[] instead of OutputStream â¦
â¦for exchange file body
Otherwise simple SFTP-to-File integrations like:
from("sftp://sample@localhost:/in?password=password=true=Shift_JIS;)
.to("file:/tmp/samples-camel/SftpToFileTest/out?charset=EUC-JP");
fails.
The changed code is mostly identical to that of `FtpOperations`.
Thanks!
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tadayosi/camel sftp-conversion
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/2463.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2463
commit 4934c380bc8d5d90ca72c7475b647455b2856dfa
Author: Tadayoshi Sato
Date: 2018-08-10T04:47:45Z
camel-ftp - SftpOperations should set byte[] instead of OutputStream for
exchange file body
---