Discuss general web development related issues. For Opera bugs, use the Bug Report Wizard: https://bugs.opera.com/wizard/. For Opera feature requests and queries, use Desktop wish-list: http://my.opera.com/community/forums/forum.dml?id=24.
By PhaniMVS
Tuesday, 6. October 2009, 14:03:46

Using FileIo Feature
Hi,
We are trying to use FileIo library in the opera webbrowser version 10.
However unable to succeed in writing and reading the file using the javascript.
Added below lines in Config.xml
-------------------------------
<feature name="http://xmlns.opera.com/fileio">
</feature>
Added below java script to use opera.io.filesystem.mountsystemDirectory.
-------------------------------------------------------------
<script>
function sample()
{
alert("Welcome to Test WebSite");
var dir = opera.io.filesystem.mountSystemDirectory();
alert("After using FileSystem");
}
</script>
<body onLoad="sample();">
Javascript console throws the following error for the above settings
--------------------------------------------------------------------
"cannot convert undefined or null to Object"
Observation:
------------
We are suspecting at line
"var dir = opera.io.filesystem.mountSystemDirectory();" , as it is unable to register opera.io.filesystem onto the webservice.
Hence, we are requesting "is there any plugin for this library to be installed?"
Thanks & Regards,
Phani
By PhaniMVS
Wednesday, 7. October 2009, 16:25:22

Sir,
FileIo is working on Opera Version 9.52.
FileIo API are working only with .wgt files.
Extracted the .wgt file by renaming it as zip and extracted the files.
Invoking the index.html directly in the browser failes with error "cannot convert undefined or null to Object"
Is there way to use fileio without .wgt files.
As i have to work on Opera Version version 9.5 build 507.
Thanks,
Phani
By PhaniMVS
Thursday, 8. October 2009, 13:37:45

Hi,
I am able to execute the file I/O widgets. But i have a opera browser at version 9.5 but doesn't recognize widget files. Is there a way to use the fileio directly with out widgets.
Kindly respond at the earliest.
Thanks,
Phani
By andreasbovens
Saturday, 31. October 2009, 03:24:06

Hi PhaniMVS - I recommend looking at our latest Opera Widgets release:
http://labs.opera.com/news/2009/10/15/This will have File I/O enabled, and allows you to run widgets as standalone applications.