FTP client scripting interface > FTP scripts for Activator application exchanges > Script execution

Script execution

RFC 959 (http://www.ietf.org/rfc/rfc959.txt) specifies the valid reply codes for each FTP command. Reply codes in the range 200-299 are non-error codes. All other reply codes are error codes.

A script either completes with or without unsuppressed errors. When a a script executes, Activator opens a connection to the FTP server. Activator sends the FTP commands one by one to the FTP server. If a reply code is:

Normally, if a statement terminates, the script terminates. However, if the statement is preceded by the “-” qualifier, the error is suppressed and the script does not terminate. Once the script is completed or terminated, Activator closes the connection to the FTP server.