Skip to content

Corruption in files sent via SFTP put depending on SFTP server #61

Open
@chrishowejones

Description

I am not sure under what circumstances this occurs but I've seen what appears to be transmission characters corrupting larger files when transferred to some, but not all, SFTP servers. In the case I saw this was on > 500Kbyte files (but may occur on smaller) being transferred to a MOVEit Transfer SFTP server, version 12.0.2.149.
This appears to be a bug in the underlying JSch library in version 0.1.53 or earlier. See the JSch release notes here: http://www.jcraft.com/jsch/ChangeLog
I have tried bumping the version of JSch to 0.1.55 in my codebase and this appears to resolve the issue although I have not fully tested all the features of clj-ssh under that version.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions