Which files do I need to have to be able to execute code that uses Management API to remotely manage a JSCAPE MFT Server?
Posted by Daniel Demecillo II on 07 November 2011 02:21 PM

If you plan to execute code that uses the Management API to remotely manage a JSCAPE MFT Server then you would have to copy the following files from your JSCPAPE MFT Server: 

- ftpserver.jar from libs directory and add it to your JVM classpath when compiling or executing your code.
- client.cfg, client.dat and ssl.cfg from the root directory.

You can do away with client.cfg if you instantiate the ManagerSubsytem using a ManagerConfiguration object as shown below but you have to make sure client.dat and ssl.cfg are on the directory where you are executing your code.

ManagerSubsystem manager = new ManagerSubsystem(new ManagerConfiguration("host", 10880, 60000, "adminuser", "adminpass"));

If you instantiate the ManagerSubsytem by passing it the path of the client configuration file as shown below:

ManagerSubsystem manager = new ManagerSubsystem("/path/to/client.cfg");

Then please make sure that client.dat and ssl.cfg are on the same directory as client.cfg.

(0 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 fusion