Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.7k views
in Java FTP by (140 points)
Hi,

Here is the exception that I am getting when trying to upload a file.

java.io.FileNotFoundException: /home/erp/appRoot/remotefiles/{8757eac0-c0c0-11d9-e939-000000000000}_398.jar (A file or directory in the path name does not exist.)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java(Compiled Code))
at java.io.FileInputStream.<init>(FileInputStream.java(Inlined Compiled Code))
at com.enterprisedt.net.ftp.FTPClient.putBinary(Unknown Source)(Compiled Code)
at com.enterprisedt.net.ftp.FTPClient.put(Unknown Source)
at com.enterprisedt.net.ftp.FTPClient.put(Unknown Source)
at com.tree.ebiz.util.vfs.FtpUtil.put(Unknown Source)

This is an INTERMITTENT issue and I was not facing this always.

Can anyone let me know the reason behind this exception.

Thanks in advance for your suggestions

Rajani Kanth

1 Answer

0 votes
by (162k points)
As you know, the client can't find the file you are asking it to upload. It is difficult to tell why this would be intermittant. Is it an NFS mounted drive? Perhaps the filesystem is occasionally not mounted for some reason?

Categories

...