cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Rosenberger (JIRA)" <>
Subject [jira] [Created] (CB-6094) Cordova 3.4.0 Filetransfer download Error Code 1
Date Mon, 24 Feb 2014 12:20:19 GMT
Torsten Rosenberger created CB-6094:

             Summary: Cordova 3.4.0 Filetransfer download Error Code 1
                 Key: CB-6094
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 3.4.0
            Reporter: Torsten Rosenberger


I update my phonegap 3.0.1 to cordova 3.4.0.

But the same code which worked on 3.0.1 throw now a error 
during downloading a file.

First i request a filesystem

all ok, then create a directory also ok.

remoteFile = ''
localPath  = '/mydir/myfile.png'

var ft = new FileTransfer();,localPath, function(entry) {

  function(error) {
    console.log("download error source " + error.source);
    console.log("download error target " +;
    console.log("download error code" + error.code);

in mydir Directory the File myfile.png ist created with a size of 0
and i got the error Code 1 (FILE_NOT_FOUND_ERR) 

if i add file://mnt/sdcard/ to the localPath Variable the download is sucessfull. But with
the new Version i get 
/ for the fileSystem.root.fullPath as descriped in the changlog of 3.4.0

maybe i doing something wrong with the new filesystem path to the root directory ?


This message was sent by Atlassian JIRA

View raw message