com.sshtools.j2ssh.SftpClient.ls(Unknown Source) Exception during FTP
750732Feb 2 2010 — edited Feb 3 2010When i'm connecting to a FTP server. Sometimes it gives an exception as listed below.
I'm not able to simulate whether its a problem with my j2ssh.jar file or with FTP server.
Also this problem occures at specific times, other times it works fine.
Below is the exception :-
java.io.IOException:
at com.sshtools.j2ssh.sftp.SftpSubsystemClient.listChildren(Unknown Source)
at com.sshtools.j2ssh.SftpClient.ls(Unknown Source)
at com.sshtools.j2ssh.SftpClient.ls(Unknown Source)
at cms.ftp.FTPOperation.getFiles(FTPOperation.java:103)
at cms.jobs.GenericController.GenericUploadFiles(GenericController.java:171)
at cms.jobs.GenericController.run(GenericController.java:660)
at cms.jobs.GenericController.runScheduler(GenericController.java:1248)
at cms.scheduler.ExtractionJob.execute(ExtractionJob.java:294)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
kindly advice at the earliest.
Thanks,
Rupesh