title: Saving file to Downloads directory using Ionic 3
body: <p>i know this link: <a href="https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-file/#where-to-store-files" rel="noreferrer">https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-file/#where-to-store-files</a></p>
  
  <p>but i would like to save the file in Downloads directory. Is this possible to save the file in any path using Ionic? If so, please, share the example.</p>
  
  <p>Here's the code:</p>
  
  <pre><code>downloadImage(image) {
  
  this.platform.ready().then(() =&gt; {
  
    const fileTransfer: TransferObject = this.transfer.create();
  
    const imageLocation = `${cordova.file.applicationDirectory}www/assets/img/${image}`;
  
    fileTransfer.download(imageLocation, cordova.file.externalDataDirectory + image).then((entry) =&gt; {
  
      const alertSuccess = this.alertCtrl.create({
        title: `Download Succeeded!`,
        subTitle: `${image} was successfully downloaded to: ${entry.toURL()}`,
        buttons: ['Ok']
      });
  
      alertSuccess.present();
  
    }, (error) =&gt; {
  
      const alertFailure = this.alertCtrl.create({
        title: `Download Failed!`,
        subTitle: `${image} was not successfully downloaded. Error code: ${error.code}`,
        buttons: ['Ok']
      });
  
      alertFailure.present();
  
    });
  
  });
  
  }
  </code></pre>
  
  <p>Basically I want save the file in location that is visible to the user.</p>