Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
6.8k views
in Java FTP by (160 points)
when calling SSHFTPClient().put(localFilePath, filename, appendFile);

Exception in thread "main" java.io.IOException: Operation unsupported
at com.enterprisedt.net.j2ssh.sftp.SftpSubsystemClient.getOKRequestStatus(SftpSubsystemClient.java:954)
at com.enterprisedt.net.j2ssh.sftp.SftpSubsystemClient.setAttributes(SftpSubsystemClient.java:771)
at com.enterprisedt.net.j2ssh.sftp.SftpSubsystemClient.changePermissions(SftpSubsystemClient.java:841)
at com.enterprisedt.net.j2ssh.SftpClient.chmod(SftpClient.java:968)
at com.enterprisedt.net.j2ssh.SftpClient.put(SftpClient.java:885)
at com.enterprisedt.net.j2ssh.SftpClient.put(SftpClient.java:772)
at com.enterprisedt.net.ftp.ssh.SSHFTPClient.put(Unknown Source)

Can someone help?

4 Answers

0 votes
by (162k points)
Try using:

SSHFTPClient.setConfigFlags(SSHFTPClient.ConfigFlags.DISABLE_CHMOD_AFTER_PUT);
0 votes
by (160 points)
I will give it a try. Thanks a lot!
0 votes
by (140 points)
Chris handover this issue to me. My name is Satish i am working with Chris Yao.
Can you help me?
Is there any other way i can try?

thanks in advance.
-Satish
0 votes
by (162k points)
Please email us a zipped log file set to the ALL logging level.

Categories

...