Kamal Bindra wrote:Hi Campbell,
Under which java forum i can find resolution to this issue.
Thanks,
Kamal
Regards,
Anayonkar Shivalkar (SCJP, SCWCD, OCMJD, OCEEJBD)
Kamal Bindra wrote:Hi,
I am trying to upload a file to a ftp using sftp. when i try to upload the same file within an interval of 10 sec it behaves abnormaly.
It shows upload status as true for 2 attempts but shows the following logs with another attempt:
+++ Exception generated : com.sshtools.j2ssh.sftp.SftpSubsystemClient.getHandleResponse(Unknown Source)
com.sshtools.j2ssh.sftp.SftpSubsystemClient.openFile(Unknown Source)
com.sshtools.j2ssh.SftpClient.put(Unknown Source)
com.sshtools.j2ssh.SftpClient.put(Unknown Source)
com.sshtools.j2ssh.SftpClient.put(Unknown Source)
com.hds.sei.service.impl.FTPCSVUploadBusinessService.uploadCSVToFtp(FTPCSVUploadBusinessService.java:92)
com.hds.sei.service.impl.UploadProcessBusinessService.uploadParsedCSVFile(UploadProcessBusinessService.java:200)
com.hds.sei.service.impl.UploadProcessBusinessService.run(UploadProcessBusinessService.java:180)
com.hds.sei.threadpool.SubTPRunnable.run(SubTPRunnable.java:54)
com.hds.sei.threadpool.SystemThreadPool$TimedRunnable.run(SystemThreadPool.java:34)
com.hds.sei.threadpool.SimpleThreadPoolThread.run(SimpleThreadPoolThread.java:51)
CSV file Location for upload to FTP : D:/csv
ERROR 2012-05-18 12:19:50,143 (FTPCSVUploadBusinessService.java:108) - ====Exception : File not found
When i look into the location for file to upload to ftp, it exists at that location.Please help me with the cause for this exception and a resolution will be highly appreciated.
Thanks,
Kamal
Don't get me started about those stupid light bulbs. |