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 2025/04/12 16:08:00 UTC
[jira] [Resolved] (SSHD-1345) SftpClient.rename() is copying the file and then deleting the original file
[ https://issues.apache.org/jira/browse/SSHD-1345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Wolf resolved SSHD-1345.
-------------------------------
Resolution: Information Provided
> SftpClient.rename() is copying the file and then deleting the original file
> ---------------------------------------------------------------------------
>
> Key: SSHD-1345
> URL: https://issues.apache.org/jira/browse/SSHD-1345
> Project: MINA SSHD
> Issue Type: Question
> Reporter: Chandra Sekhar R
> Priority: Major
>
> I am using Apache Mina SSHD SFTP to rename a file on sftp server. Calling SftpClient.rename() method to do the same. But this method is copying the source file to destination file and then deleting the source file.
> But when I do the same usings sftp client binary comes with linux the file is just renamed.
> How to acheive renaming of file using SftpClient ?
--
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