Hi,

I've been using j2ssh 2.7 and for the most part it works really well.

However, for some reason it has started throwing this exception when trying to upload to a root directory on an SFTP server:

java.io.IOException: A file or directory in the path name does not exist.
    at com.sshtools.j2ssh.sftp.SftpSubsystemClient.getOKRequestStatus(Unknown Source)
    at com.sshtools.j2ssh.sftp.SftpSubsystemClient.setAttributes(Unknown Source)
    at com.sshtools.j2ssh.sftp.SftpSubsystemClient.changePermissions(Unknown Source)
    at com.sshtools.j2ssh.SftpClient.chmod(Unknown Source)
    at com.sshtools.j2ssh.SftpClient.put(Unknown Source)
    at com.sshtools.j2ssh.SftpClient.put(Unknown Source)
    at com.sshtools.j2ssh.SftpClient.put(Unknown Source)
    at com.sshtools.j2ssh.SftpClient.put(Unknown Source)

The permissions seem to be ok, as files can be uploaded using a manual SFTP client. Why would this exception be happening?

Any response would be much appreciated. Thanks!