# How to move a file/image from a local machine to Google Drive

**URL:** <https://community.synatic.com/t/how-to-move-a-file-image-from-a-local-machine-to-google-drive/334>\
**Category:** Flows\
**Tags:** helper-functions, google-drive\
**Created:** [April 4, 2023, 7:30pm UTC](https://community.synatic.com/t/how-to-move-a-file-image-from-a-local-machine-to-google-drive/334 "2023-04-04T19:30:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Faizel](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.synatic.com/faizel/32/918_2.png) [@Faizel](https://community.synatic.com/u/Faizel)\
**Post date:** [April 4, 2023, 7:30pm UTC](https://community.synatic.com/t/how-to-move-a-file-image-from-a-local-machine-to-google-drive/334/1 "2023-04-04T19:30:00Z")

</div>

If you require **to move a file or image from a local machine to Google Drive** , please follow the below instructions:

Illustrated below is an example of a flow where a file is moved from a local machine to Google Drive.

 ![Screenshot 2023-04-04 080521](https://canada1.discourse-cdn.com/flex032/uploads/synatic/original/1X/3f31b57ce33e6d579cf8b86addc34de350cedb19.png)

1. The Relay Based Filesystem source step is used to retrieve an image from a local machine.  
Select an existing connection or use the (+) icon to add a new connection. In the **Path** field, inputted is the location path of the image with the file type included as highlighted in the below image:

 ![Screenshot 2023-04-04 164011](https://canada1.discourse-cdn.com/flex032/uploads/synatic/original/1X/fd55de99e90768a76f6bf21302c7a1b201fd85dc.png)

1. Add the Combine step after the Pass Through step in order to send the file to Google Drive destination step.

2. Add a Google Drive destination step. Select an existing connection or use the (+) icon to add a new connection as highlighted in the below image. The name of the file/image is added in the **Path** field. The File Type is dependent on what the file is.

The below link assists with the different **File Types** that are available:

> [Media/File Types](https://www.iana.org/assignments/media-types/media-types.xhtml#text)

 ![Screenshot 2023-04-04 164239](https://canada1.discourse-cdn.com/flex032/uploads/synatic/original/1X/372764162c4d754c6c9a197cf48e5cfbf9df320b.png)

To **reference the Folder ID** , please look at the Google Drive URL for the required ID as illustrated in the image below.

 ![Screenshot 2023-04-04 164739](https://canada1.discourse-cdn.com/flex032/uploads/synatic/original/1X/b11a8796136b7ae0f5af18cd135e7ed8e801204b.png)
