Knowledgebase: Components
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, Last modified by Van Glass on 07 December 2011 11:17 AM

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();
Sftp sftp = new Sftp(params, config);
(3 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako