Live Chat Software by Kayako |
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, Last modified by Daniel Demecillo II on 22 December 2011 08:35 AM
|
|
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. 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. | |
|