You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Thomas Wolf (Jira)" <ji...@apache.org> on 2023/04/02 17:34:00 UTC
[jira] [Updated] (SSHD-1319) SftpRemotePathChannel.transferFrom(...) ignores position argument
[ https://issues.apache.org/jira/browse/SSHD-1319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Wolf updated SSHD-1319:
------------------------------
Fix Version/s: 2.10.0
(was: 2.9.3)
> SftpRemotePathChannel.transferFrom(...) ignores position argument
> -----------------------------------------------------------------
>
> Key: SSHD-1319
> URL: https://issues.apache.org/jira/browse/SSHD-1319
> Project: MINA SSHD
> Issue Type: Bug
> Affects Versions: 2.9.2
> Reporter: Andreas Bergander
> Assignee: Thomas Wolf
> Priority: Major
> Fix For: 2.10.0
>
>
> The _position_ argument in the _SftpRemotePathChannel.transferFrom(...)_ method seems only to be used when validating it and in debug logging.
> It should also affect where the data is written to the remote file. Perhaps it could be fixed with adding a call to {_}SftpOutputStreamAsync.setOffset(...){_}?
> {code:java}
> output.setOffset(position);{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org