Knowledgebase
I can’t seem to successfully connect to a Cerberus FTP Server using the Sftp class from Secure iNet Factory or Secure FTP Factory?
Posted by Daniel Demecillo II on 09 November 2011 12:37 PM

This particular server require that you initialize the Sftp class with an SftpConfiguration object whose setStartSubsystemReplyNeeded() method has been set to true. The code snippet below shows how this is done:

SshParameters params = new SshParameters("hostname", "username", "password");
SftpConfiguration config = new SftpConfiguration();
config.setStartSubsystemReplyNeeded(true);
Sftp sftp = new Sftp(params, config);
sftp.connect();
(1 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
Help Desk Software by Kayako fusion