SftpFile rename not working

wyangw Pie
2008-09-18
2013-05-20
  • wyangw Pie

    wyangw Pie - 2008-09-18

    Could you please help here: the file is copied over to destination folder, but rename failed.

    thanks

    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)

     
    • Sascha Hunold

      Sascha Hunold - 2008-09-18

      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.

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks