muthu169963
07-23-2009, 10:02 AM
Hi,
I'm using Secure iNetFactory to connect to FTP server to do FTP operations.
While I connect to the server, I'm getting the exception com.jscape.inet.ssh.authentication.RequestFailureE xception. But after printing the stacktrace in the console, the program is able to connect to the server and it proceeds with FTP operations. Please let me know the reason for this exception and also suggest me the ways to handle this exception.
Stack trace is given below,
Inside connect
Jul 23, 2009 5:12:04 AM com.jscape.util.a.b run
WARNING: Error executing task.
com.jscape.inet.ssh.authentication.RequestFailureE xception
at com.jscape.inet.ssh.authentication.requests.Abstra ctAuthenticationRequest.assertSuccess(Unknown Source)
at com.jscape.inet.ssh.authentication.requests.Passwo rdRequest.assertSuccess(Unknown Source)
at com.jscape.inet.ssh.authentication.requests.Passwo rdRequest.execute(Unknown Source)
at com.jscape.util.a.b.run(Unknown Source)
at com.jscape.inet.ssh.authentication.requests.Abstra ctComplexRequest.executeRequest(Unknown Source)
at com.jscape.inet.ssh.authentication.requests.Succes siveAttemptRequest.execute(Unknown Source)
at com.jscape.util.a.b.run(Unknown Source)
at com.jscape.inet.ssh.authentication.requests.UserDa taBasedRequest.execute(Unknown Source)
at com.jscape.util.a.b.run(Unknown Source)
at com.jscape.inet.ssh.SshConfiguration.createConnect ionClient(Unknown Source)
at com.jscape.inet.ssh.SshStandaloneConnector.openCon nection(Unknown Source)
at com.jscape.inet.sftp.SftpConfiguration.createClien t(Unknown Source)
at com.jscape.inet.sftp.Sftp.connect(Unknown Source)
Connected to server: 108.227.178.63
Inside send
Inside upload
Uploaded...
Inside disconnect
Disconnected from server: 108.227.178.63
Thanks in advance!
Muthu
I'm using Secure iNetFactory to connect to FTP server to do FTP operations.
While I connect to the server, I'm getting the exception com.jscape.inet.ssh.authentication.RequestFailureE xception. But after printing the stacktrace in the console, the program is able to connect to the server and it proceeds with FTP operations. Please let me know the reason for this exception and also suggest me the ways to handle this exception.
Stack trace is given below,
Inside connect
Jul 23, 2009 5:12:04 AM com.jscape.util.a.b run
WARNING: Error executing task.
com.jscape.inet.ssh.authentication.RequestFailureE xception
at com.jscape.inet.ssh.authentication.requests.Abstra ctAuthenticationRequest.assertSuccess(Unknown Source)
at com.jscape.inet.ssh.authentication.requests.Passwo rdRequest.assertSuccess(Unknown Source)
at com.jscape.inet.ssh.authentication.requests.Passwo rdRequest.execute(Unknown Source)
at com.jscape.util.a.b.run(Unknown Source)
at com.jscape.inet.ssh.authentication.requests.Abstra ctComplexRequest.executeRequest(Unknown Source)
at com.jscape.inet.ssh.authentication.requests.Succes siveAttemptRequest.execute(Unknown Source)
at com.jscape.util.a.b.run(Unknown Source)
at com.jscape.inet.ssh.authentication.requests.UserDa taBasedRequest.execute(Unknown Source)
at com.jscape.util.a.b.run(Unknown Source)
at com.jscape.inet.ssh.SshConfiguration.createConnect ionClient(Unknown Source)
at com.jscape.inet.ssh.SshStandaloneConnector.openCon nection(Unknown Source)
at com.jscape.inet.sftp.SftpConfiguration.createClien t(Unknown Source)
at com.jscape.inet.sftp.Sftp.connect(Unknown Source)
Connected to server: 108.227.178.63
Inside send
Inside upload
Uploaded...
Inside disconnect
Disconnected from server: 108.227.178.63
Thanks in advance!
Muthu