Hi,
We are connecting to a Serv U SFTP server running on windows . While using the mkDir method we are getting an exception , though the directory is created on the server.
java.io.IOException: Specified file is a directory.
at com.enterprisedt.net.j2ssh.sftp.SftpSubsystemClient.A(Unknown Source)
at com.enterprisedt.net.j2ssh.sftp.SftpSubsystemClient.setAttributes(Unknown Source)
at com.enterprisedt.net.j2ssh.sftp.SftpSubsystemClient.changePermissions(Unknown Source)
at com.enterprisedt.net.j2ssh.SftpClient.chmod(Unknown Source)
at com.enterprisedt.net.j2ssh.SftpClient.mkdir(Unknown Source)
at com.enterprisedt.net.ftp.ssh.SSHFTPClient.mkdir(Unknown Source)
at com.equens.nl.cordys.ac.sftp.client.SFTPClient.createDirectory(SFTPClient.java:516)
at com.equens.nl.cordys.ac.sftp.client.SFTPClient.main(SFTPClient.java:601)
In the SFTP server logs we see a normal activity.
Please advice on what could be wrong.
The directory does not exist previously.
Regards,
Sabyasachi..