Could you please help here: the file is copied over to destination folder, but rename failed.
2125 [main] INFO com.sshtools.j2ssh.sftp.SftpSubsystemClient - Received response
java.io.IOException: No such file
at com.sshtools.j2ssh.sftp.SftpSubsystemClient.getOKRequestStatus(Unknown Source)
at com.sshtools.j2ssh.sftp.SftpSubsystemClient.renameFile(Unknown Source)
at com.sshtools.j2ssh.sftp.SftpFile.rename(Unknown Source)
I never tried to use the method of SftpFile. I will have a look.
Try using the rename method of SftpClient. That will do for now.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.