Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
9.2k views
in Java FTP by (160 points)
Hi,
I try to write some files to the SFTP server and I got a java.io.IOException: The handle is invalid:

java.io.IOException: Unable to store file: 20090723145607.rdy
at com.ericsson.etm.ina.md.interfaces.SshFtpClient.storeFile(SshFtpClient.java:300)
at com.ericsson.etm.ina.md.interfaces.McFtpClient.putfile(McFtpClient.java:255)
at com.ericsson.etm.ina.md.interfaces.InaMcProxy.sendRequestFile(InaMcProxy.java:621)
at com.ericsson.etm.ina.md.Controller.orderSync(Controller.java:786)
at com.ericsson.etm.ina.md.interfaces.MdGuiServer$Connection.handleMessage(MdGuiServer.java:390)
at com.ericsson.etm.ina.md.interfaces.MdGuiServer$Connection.run(MdGuiServer.java:289)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: The handle is invalid
at java.io.FileInputStream.available(Native Method)
at com.enterprisedt.net.j2ssh.SftpClient.put(Unknown Source)
at com.enterprisedt.net.ftp.ssh.SSHFTPClient.put(Unknown Source)
at com.ericsson.etm.ina.md.interfaces.SshFtpClient.storeFile(SshFtpClient.java:288)
... 6 more

Any idea?

2 Answers

0 votes
by (162k points)
Please enable logging at the All level, and email the log file demonstrating the error to support.
0 votes
by (160 points)
Problem is solved,

The problem was related to write a file which has a size of 0 bytes

BR,
Tom

Categories

...