how to access a file from USB through Native Client

178 Views Asked by At

I am trying to access contents of USB through native client using URLloader API however I get an error message while I call the 'Open() function' and error code is -7 ( Indicates failure due to insufficient privileges. PP_ERROR_NOACCESS = -7).Can you suggest me any alternative way of loading file from USB through NaCl and is there any support in NaCl or not?

1

There are 1 best solutions below

0
On

If you are able to access the file in JavaScript, tat least sending the file (via postMessage) to your nacl application should be possible.