You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by tadayosi <gi...@git.apache.org> on 2018/08/10 05:37:59 UTC

[GitHub] camel pull request #2463: camel-ftp - SftpOperations should set byte[] inste...

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:2222/in?password=password&delete=true&charset=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 <sa...@...>
Date:   2018-08-10T04:47:45Z

    camel-ftp - SftpOperations should set byte[] instead of OutputStream for exchange file body

----


---

[GitHub] camel pull request #2463: camel-ftp - SftpOperations should set byte[] inste...

Posted by davsclaus <gi...@git.apache.org>.
Github user davsclaus closed the pull request at:

    https://github.com/apache/camel/pull/2463


---