The following is an example of how to create a Project that sends new files (identified by a file Monitor) to an FTP server.
Define a new Project to process the files identified by the Monitor.
From the main menu, select
Workflows
and then click the Projects link.
In the Projects page, drill-down to the folder in which to create the new Project.
Click the
Create a Project link in the sub-menu.
The
Managed File Transfer
Project Designer will open.
Type the Project name and description, and then click
Save
.
From within the Project Designer page, expand the FTP folder in the Component Library, and then drag the FTP task to the Project Outline.
On the Basic tab of the FTP Task, choose a FTP server resource.
Click the
Add
button and select
Put Files
.
On the Put Files Basic tab, specify the Source Files Variable and the Destination Directory. The ${files} variable will be defined in the Monitor. This variable will contain a list of files identified by the Monitor and will be used in this task after the Monitor runs.
Click the
Save and Finish
button.
Create the Monitor that will identify the new files and execute the Project (created in the first step).
From the menu bar, select
Workflows
, and then click
Monitors
.
Click the
Add Monitor link in the page toolbar.
On the Monitors General tab, specify values for the required fields such as the folder to scan for new files.
On the Monitors Schedule tab, specify how frequently the Monitor should run.
On the Monitors Project tab, specify the Project to execute (created in the first step) and define the variable that will contain the list of files identified by the Monitor. This is the variable used by the FTP task in step 1 - j above.
Click the
Save
button. The Monitor starts and will execute the Project each time it finds new files in the specified folder.