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

[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=17041273#comment-17041273 ] 

Nitin Ranjan edited comment on SSHD-967 at 2/20/20 8:05 PM:
------------------------------------------------------------

added a fix and created a pull request for it

[https://github.com/apache/mina-sshd/pull/111/commits/116d3798cc06aaeb3661eb3b6fd337c65e9e96f1]


was (Author: nitinranjan):
added a fix and created a pull request for it

[https://github.com/apache/mina-sshd/pull/111]

> 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
>            Priority: Major
>             Fix For: 2.4.1
>
>          Time Spent: 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