Altova FlowForce Server 2025 Advanced Edition

Creates a stream from an existing file.

 

Signature

stream-open(name:string, contenttype:string=contenttype=application/octet-stream) -> stream

 

Parameters

Name

Type

Description

name

string

The path of the source file for this stream.

contenttype

string

Specifies the contenttype to associate to the stream. The default is contenttype=application/octet-stream

 

Examples

The following job opens an existing file having the .txt extension and writes it back to the same directory with the .csv extension:

fs_func-example-stream-open

© 2018-2024 Altova GmbH