Activity - deliverToFile

Activity Type: Delivery

Description

Consumes data from an input and delivers it to a file on the service container's local filesystem.

Example

Consumes data from an input named dataSource and delivers it to a file called C:/temp/file.txt:

<deliverToFile name="delivery">
  <fromLocal from="dataSource"/>
  <toFile>C:/temp/file.txt</toFile>
</deliverToFile>

Specification

Element deliverToFile:

Input and Output Types

Warnings to Service Deployers

This activity is not deployed by default because it can potentially be used by clients to overwrite any file on your server. This activity is provided for developing and testing OGSA-DAI applications.

If you intend to use files as data resources then you should support access and manipulation of these only via the file activities.

Data Resource Accessor

This activity can operate with any data resource accessor.

XML Schema

OGSA-DAI/schema/ogsadai/xsd/activities/deliver_to_file.xsd

Class

uk.org.ogsadai.activity.delivery.DeliverToFileActivity

Client Toolkit Class

uk.org.ogsadai.client.toolkit.activity.delivery.DeliverToFile