# How to download file from link of google drive to device

**URL:** <https://community.thunkable.com/t/how-to-download-file-from-link-of-google-drive-to-device/95317>\
**Category:** Questions about Thunkable X\
**Created:** [June 7, 2019, 5:03am UTC](https://community.thunkable.com/t/how-to-download-file-from-link-of-google-drive-to-device/95317 "2019-06-07T05:03:43Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![kartik\_old](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik_old/32/28305_2.png) [@kartik\_old](https://community.thunkable.com/u/kartik_old)\
**Post date:** [June 7, 2019, 5:03am UTC](https://community.thunkable.com/t/how-to-download-file-from-link-of-google-drive-to-device/95317/1 "2019-06-07T05:03:43Z")

</div>

Hello,  
I want to download pdf from google drive link…  
More clearly, I want to copy the file from URL to device  
How can we do this in X?  
Any help will be appreciated…

Kartik

---

<div class="post-metadata">

**Author:** ![jane](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jane/32/27575_2.png) [@jane](https://community.thunkable.com/u/jane)\
**Post date:** [June 7, 2019, 3:50pm UTC](https://community.thunkable.com/t/how-to-download-file-from-link-of-google-drive-to-device/95317/2 "2019-06-07T15:50:09Z")

</div>

Hi there,

If you have a file hosted on Google Drive at [https://drive.google.com/file/d/](https://drive.google.com/file/d/)[file ID], you can get a direct download link for it at [https://drive.google.com/uc?export=download&id=](https://drive.google.com/uc?export=download&id=)[file ID]

You can also find websites which do this conversion for you, like [this one](https://sites.google.com/site/gdocs2direct/).

Hope that helps!

Jane

---

<div class="post-metadata">

**Author:** ![kartik\_old](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik_old/32/28305_2.png) [@kartik\_old](https://community.thunkable.com/u/kartik_old)\
**Post date:** [June 7, 2019, 5:37pm UTC](https://community.thunkable.com/t/how-to-download-file-from-link-of-google-drive-to-device/95317/3 "2019-06-07T17:37:37Z")

</div>

Thank you So Much!

---

<div class="post-metadata">

**Author:** ![kartik\_old](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik_old/32/28305_2.png) [@kartik\_old](https://community.thunkable.com/u/kartik_old)\
**Post date:** [June 11, 2019, 4:10pm UTC](https://community.thunkable.com/t/how-to-download-file-from-link-of-google-drive-to-device/95317/4 "2019-06-11T16:10:02Z")

</div>

@jane,  
Could you please tell me where to get the FileID?  
It would be a great help 🙂

Thanks

---

<div class="post-metadata">

**Author:** ![jane](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jane/32/27575_2.png) [@jane](https://community.thunkable.com/u/jane)\
**Post date:** [June 11, 2019, 4:15pm UTC](https://community.thunkable.com/t/how-to-download-file-from-link-of-google-drive-to-device/95317/5 "2019-06-11T16:15:37Z")

</div>

It’s just the part of the URL after file/d/, but before the next ‘/’ character…  
So in [https://drive.google.com/file/d/XXXX/view](https://drive.google.com/file/d/XXXX/view), the file ID is XXXX.

Make sure the URL you’re taking the file ID from says /file/ and not /folder/!

---

<div class="post-metadata">

**Author:** ![kartik\_old](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik_old/32/28305_2.png) [@kartik\_old](https://community.thunkable.com/u/kartik_old)\
**Post date:** [June 11, 2019, 4:16pm UTC](https://community.thunkable.com/t/how-to-download-file-from-link-of-google-drive-to-device/95317/6 "2019-06-11T16:16:12Z")

</div>

Genius!  
Thank you so much!

---

<div class="post-metadata">

**Author:** ![kartik\_old](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik_old/32/28305_2.png) [@kartik\_old](https://community.thunkable.com/u/kartik_old)\
**Post date:** [June 11, 2019, 5:36pm UTC](https://community.thunkable.com/t/how-to-download-file-from-link-of-google-drive-to-device/95317/7 "2019-06-11T17:36:00Z")

</div>

Oh oh,  
I think I replied too early before testing on the app… 😅  
I just tested on link on PC…  
@jane, Now, when checked on App, the **⤓** button instead opens the file in my google drive app.  
What am I missing?  
The code :  
 ![temp](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/5/05487327648ef9711bc60218f530837b6dd11b2e.png)

Thanks!

---

<div class="post-metadata">

**Author:** ![kartik\_old](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik_old/32/28305_2.png) [@kartik\_old](https://community.thunkable.com/u/kartik_old)\
**Post date:** [June 12, 2019, 7:13am UTC](https://community.thunkable.com/t/how-to-download-file-from-link-of-google-drive-to-device/95317/8 "2019-06-12T07:13:17Z")

</div>

Can you also help me with this :

Hello,  
I have a **Pay** Screen in my app.  
What I want to do is, I want to open Chrome with my payment link(only when the very first time the app is opened) & the second time (when the user presses back from Chrome and comes back to my app),  
I want the label to go : Succesfull Transaction! and after 2 sec., open my Menu screen.  
How can I achieve this?

Thanks,  
Kartik

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:13pm UTC](https://community.thunkable.com/t/how-to-download-file-from-link-of-google-drive-to-device/95317/9 "2024-11-08T12:13:29Z")

</div>


