Please enable JavaScript to view this site.

Altova FlowForce Server 2020 

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

© 2019 Altova GmbH