Read file to stream

Hi!

I am currently working with a workflow as a datasource for the document viewer. I have a file on an internal network location (file server) that I wish to read in as a stream so that I can get it to become a valid variable for output from a workflow which I assume means I will have to read a file in as a stream. However, I cannot find this option in the File Systems connector, the only option seems to be to read a zip as a stream, but my files are not zipped.

Could anyone shed som light on how I can go about accomplishing this, i.e. displaying a file with a path like this in the document viewer in Portal2?
\MYSERVER\Data\DOCMAN\223344\ANTENNA\ANTENNA1\223344-PIC_40.0#S.jpg

//Joakim

Note, if I zip the location and the read the zip to stream, it works, but I would ofcourse rather avoid having to zip each individual file before reading it to stream.

Hi Joakim. I know. it should be a direct option in the file system connector. The workaround is to add it to zip, read to file stream.

Br