Script Templates

Script templates. serve two purposes:  They are examples of the language and its usage;  And they provide a mechanism for directly tailoring your scripts.  Templates contain interactive instructions that are processed as the template is inserted into a script.  These instructions stop the insertion process and ask you for information that will tailor the template to your particular use in your particular script. 

Beyond FTP includes a number of templates that perform various actions.  Some are as simple setting global values.  Others are more complex.  For example, we have included a template that will poll a directory for files, move those files from that directory to a second directory, and then delete the original copies.  The directories may be local or remote and the process guarantees that a file is copied once and only once.  Failures are automatically retried.