Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 232631

Re: Reading / Writing to Network Shares using vCO

$
0
0

There is no need to map shares to drives.

 

First, make sure that you have given read permissions to the file you intend to read. In configuration file 'js-io-rights.conf' (located in <vco-dir>\app-server\server\vmo\conf\ directory), you need to have a line similar to

 

+r \\192.168.10.120\Shares\test.txt

 

Then, in your workflow you can use something like

 

var file = new FileReader("\\\\192.168.10.120\\Shares\\test.txt");
file.open();
var s = file.readAll();
System.log("file content read => " + s);
file.close();

 

Hope this helps.


Viewing all articles
Browse latest Browse all 232631

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>