Defining the Download Logic for File Transfer

Prerequisites
The following items must be addressed prior to performing this procedure:
  • The object definition encapsulating the files to be donwloaded (hereafter referred to as the file object) must be defined. The collection property to store the file object instances must already be defined in the parent object.
  • This procedure asumes a fetch exists within the application project to retrieve the parent objects of the file object.
  • The location of the files in the back end system must be known and the manner in which they are to be reteived from that location should be determined. This is especially true if a vesion control system is to be accessed or if the files are stored in a database.
Task

This procedure describes the steps needed to define the steps and step usage definitions to retrieve files from the back end system to be transferred to the Agentry Client. In the example used here the files are stored in the version control system Subversion. As a part of downloading the files, the command line process export is used. This process extracts a revision of a specific file from the repository and copies it to a designated location on the file system. This copy is not maintained byt he version control system, which is a desirable behavior ofr this logic as the copy we create will be temporary and will be removed when the Agentry Server has finished transferring it.

Next