# File transfer

**URL:** <https://forum.ionicframework.com/t/file-transfer/124427>\
**Category:** Ionic Native\
**Created:** [March 13, 2018, 1:57pm UTC](https://forum.ionicframework.com/t/file-transfer/124427 "2018-03-13T13:57:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![andres3dc](https://avatars.discourse-cdn.com/v4/letter/a/59ef9b/32.png) [@andres3dc](https://forum.ionicframework.com/u/andres3dc)\
**Post date:** [March 13, 2018, 1:57pm UTC](https://forum.ionicframework.com/t/file-transfer/124427/1 "2018-03-13T13:57:34Z")

</div>

Hi, I’m trying to implement the ‘File transfer’ plugin. It is returning full download but I can’t see the file in any folder. This is the json response:

```auto
download complete: {
    "isFile":true,
    "isDirectory":false,
    "name":"testfile.pdf",
    "fullPath":"/testfile.pdf",
    "filesystem":"<FileSystem: files>",
    "nativeURL":"file:///data/user/0/co.app/files/testfile.pdf"
}

```

This is my code.

```auto
  download() {
    const url = 'urlserver/testfile.pdf';
    const fileTransfer: FileTransferObject = this.transfer.create();
    fileTransfer.download(url, this.file.dataDirectory + 'testfile.pdf').then((entry) => {
      console.log('download complete: ' + JSON.stringify(entry));
    }, (error) => {
      // handle error
      console.log('errr');
    });
  }

```

---

<div class="post-metadata">

**Author:** ![danishkhanmdk1995](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/danishkhanmdk1995/32/122145_2.png) [@danishkhanmdk1995](https://forum.ionicframework.com/u/danishkhanmdk1995)\
**Post date:** [January 11, 2019, 6:45pm UTC](https://forum.ionicframework.com/t/file-transfer/124427/2 "2019-01-11T18:45:58Z")

</div>

i am also facing the same issue please let me know if you have found any solution.

Thanks.

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:45pm UTC](https://forum.ionicframework.com/t/file-transfer/124427/3 "2021-07-19T21:45:49Z")

</div>

Closed on July 19, 2021, 9:45pm UTC


