You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Lyor Goldstein (Jira)" <ji...@apache.org> on 2020/02/27 08:23:00 UTC

[jira] [Resolved] (SSHD-967) transferTo function of SftpRemotePathChannel always add some extra bytes in the end of file

     [ https://issues.apache.org/jira/browse/SSHD-967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lyor Goldstein resolved SSHD-967.
---------------------------------
    Resolution: Fixed

[~nitinranjan] you have not answered, so I am merging it in based on the unit tests I have written to cover this use-case

> transferTo function of SftpRemotePathChannel always add some extra bytes in the end of file
> -------------------------------------------------------------------------------------------
>
>                 Key: SSHD-967
>                 URL: https://issues.apache.org/jira/browse/SSHD-967
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Nitin Ranjan
>            Assignee: Lyor Goldstein
>            Priority: Major
>             Fix For: 2.4.1
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> transferTo function of SftpRemotePathChannel always add some extra bytes in the end of file
>  
> I have tried to transfer gz file from sftp server after transfer when I tried to decompress it it was giving warning 
> *decompression ok trailing garbage ignored*
>  
> When I checked the file I found some extra bytes appended to the file
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org