title: Phonegap file/file-transfer plugin success but no folder in ios
body: <p>I am trying to create a new folder 'Abc' and then download images from a url to it. It is working perfectly in Android and I see the folder/pics in the Gallery but not in ios.</p>
  
  <p>Added some alerts which makes me feel that the folder and image is being downloaded fine in ios (success function is fired) but I am not able to see the folder anywhere. further, I am trying to share that image from the app itself and that functionality is also not picking the local image (again, working fine in Android). I am using the latest versions of the file and file transfer plugin with Phonegap 3.5</p>
  
  <p>Here is the code i am using:</p>
  
  <pre><code>//in onDeviceReady
  window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, onFSSuccess, null);    
  function onFSSuccess(fileSystem) {
  fileSystem.root.getDirectory("Abc",{create:true, exclusive: false},gotDir,onError);
  }
  
  function gotDir(d){
  DATADIR = d;
  alert(DATADIR.toURL());
  }
  
  var ft = new FileTransfer();
  
  ft.download(imgurl, dlPath, function(entry) {
      console.log("download complete: " + entry.fullPath);
      alert(entry.fullPath);
               },
    function(error) {
      alert(error.code);
      console.log("download error source " + error.source);
      console.log("download error target " + error.target);
      console.log("upload error code" + error.code);
       }
      );
  </code></pre>
  
  <p>DATADIR.toURL() returns:</p>
  
  <p>Android:     </p>
  
  <pre><code>file:///storage/emulated/0/Abc/
  </code></pre>
  
  <p>ios:    </p>
  
  <pre><code>file:///var/mobile/Applications/xxxx-xxxx-xxx-xx-xxx/Documents/Abc/
  </code></pre>
  
  <p>entry.fullPath returns:</p>
  
  <p>Android:</p>
  
  <pre><code>/Abc/filename.ext
  </code></pre>
  
  <p>ios:</p>
  
  <pre><code>/Abc/filename.ext
  </code></pre>
  
  <p>But I don't see the folder "Abc" anywhere in Documents on iphone (ios 7).</p>
  
  <p>Any suggestions?</p>
  
  <p>Thanks!</p>
  
  <p>UPDATE:</p>
  
  <p>I am able to browse to the new directory on the mac (via ~/Library/Application Support/iPhone Simulator) when I run it in the Simulator and can further access it via SocialShare plugin but not in an actual device (tried on 2).</p>
  
  <p>Another UPDATE:</p>
  
  <p>I am now able to use the share functionality on the image downloaded in the new folder on the device. However, I am still not able to browse the new folder that was created. If it is being shared that means the folder is there but not accessible. Any thoughts?</p>