Estoy probando el código de Firefox, IE 9, Chrome y Opera, pero la función onInitFs (fs) no se llama. Si agrego '()' a onInitFs en la ventana. requestFileSystem (window.PERSISTENT, 1024 * 1024, onInitFs, errorHandler) esa función se llama pero fs es nula? ¿Alguien sabe cómo resolver este problema? Intento Windows 7. Agradeceré mucho su ayuda.window.requestFileSystem no funciona
<!DOCTYPE HTML>
`<html>
<head>
<script>
function errorHandler(e){
alert("errorrrr");
}
function onInitFs(fs){
alert("onInitFs");
}
function readClick(){
if (window.webkitRequestFileSystem) {
window.webkitRequestFileSystem(window.PERSISTENT, 1024*1024,onInitFs,errorHandler);
}
else {
window.requestFileSystem(window.PERSISTENT, 1024*1024, onInitFs, errorHandler);
}
alert("read finishsssss");
}
</script>
</head>
<body>
<input type="button" value="Read dir" onclick="readClick()">
<ul id="filelist"></ul>
</body>
</html>
relacionadas: http://stackoverflow.com/questions/19802032/how-can-a-chrome-extension-save-many-files-to-a-user-specified-directory/19813816 # comment71099517_19813816 – Pacerier