Levels of scripting
The following describe the three levels of possible scripting changes, ordered from simplest to most complex.
- Edit the command set document. At this level, you edit the default command set document to change the order of commands sent to the FTP server or remove commands. For example, if an FTP server immediately prompts for a password rather than first prompting for a user name, you can remove the line that sends the User command from the authenticate meta-command.
- Change Java classes containing commands. A Java class implements each command (for example, User). To change the behavior of a command or to add a command, you must edit or create the Java class that implements the command. Then compile the class and make it available to the FTP client. More information is available in the Developer’s Guide for the optional Software Development Kit available from Axway.
- Write a custom FTP client implementation. The default client implementation is the framework of the FTP client. It includes classes that manage the connections with the server and that read and execute the commands in the script. You can replace the default client implementation with one that does not use a script. For example, if a user has an FTP client implementation written in Java, it could be modified to work with Activator by replacing the default client implementation with an interface to the user’s existing implementation.
More information is available in the Developer’s Guide for the optional Software Development Kit available from Axway.
Related topic