Creates a stream from an existing file.
stream-open(name:string, contenttype:string=contenttype=application/octet-stream) -> stream |
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 |
The following job opens an existing file having the .txt extension and writes it back to the same directory with the .csv extension: