Activity Type: Delivery
Retrieve data from a file on the container's local filesystem.
<deliverFromFile name="retrieval"> <fromFile blockSizeInBytes="1024">c:/temp/file.ext</fromFile> <toLocal name="dataSink"/> </deliverFromFile>
Element deliverFromFile:
This activity can be used by clients to potentially access 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.
If the attribute blockSizeInBytes is not specified then the entire contents of the file is retrieved into memory - this may cause the server's Java Virtual Machine to run out of memory.
OGSA-DAI/schema/ogsadai/xsd/activities/deliver_from_file.xsd
OGSA-DAI/src/java/activities/uk/org/ogsadai/activity/delivery/DeliverFromFileActivity.java
| Up: Activities | ||
| © International Business Machines Corporation, 2004. | © The University of Edinburgh, 2004. |