title: Cordova File Transfer download fails ios 9 - Response Code 200
body: <p>I try to download a file with cordova.</p>
  
  <p>These setting for ios: 
  Cordova 6.3.1, file plugin  3.0.0, file transfer plugin  1.4.0, Xcode 7, ios 9.3.4 on test system</p>
  
  <p>But also in a Windows 10 uwp-App.</p>
  
  <p>The download works sometimes (mainly for smaller files) but fails to download the file in some other cases. So i assume the code in general works fine (and did so for the last year (with older Cordova versions). </p>
  
  <p>A file gets created everytime and the response code is 200 so everything seems fine for my system, but the created file is only a few bytes large in size.</p>
  
  <pre><code>fileSystem.root.getDirectory(folderName, {create: true}, function(dirEntry){
      var path = dirEntry.toURL() + '/' + fileName;
      var ft = new FileTransfer();        
      var uri = encodeURI(url) + '?' + new Date().getMilliseconds();
      ft.download(sessionurl, downloadPath, function(entry) {
         entry.file(
  
              function(file) {
                  onsuccess(file);
              },
              function(error) {
                  onerror(error);
              }
          );
  }
  </code></pre>
  
  <p>Any advice would be great.</p>