# How to read data from a large file from One Drive

**URL:** <https://community.synatic.com/t/how-to-read-data-from-a-large-file-from-one-drive/400>\
**Category:** Flows\
**Tags:** one-drive\
**Created:** [January 17, 2024, 8:50am UTC](https://community.synatic.com/t/how-to-read-data-from-a-large-file-from-one-drive/400 "2024-01-17T08:50:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![praise](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.synatic.com/praise/32/1124_2.png) [@praise](https://community.synatic.com/u/praise)\
**Post date:** [January 17, 2024, 8:50am UTC](https://community.synatic.com/t/how-to-read-data-from-a-large-file-from-one-drive/400/1 "2024-01-17T08:50:13Z")

</div>

The flow in the image below illustrates **how to read a large data file from One Drive.** One Drive Source step is used with a Byte group step. This will allow the data to be saved on Synatic. The data is stored in a Buffer destination step.

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/synatic/original/2X/c/c8300f2fde60a8e901ff77fea52c3af7f801bed7.png)

The image below shows the One Drive source step configuration. The icon highlighted in the image below is how a connection to One Drive can be created. Type the path to the file on One Drive in the Path field to retrieve the file.

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/synatic/original/2X/2/2331674c7009543cb854ff05b0f2f0a462d75bb0.png)

The Byte Group step is shown in the image below. In this example, we are retrieving a PDF file from One Drive. The Base64 output mode is used to convert the PDF file into a Base64 string. Provide the To Field name. In this example, the To Field is “data”.

![image](https://canada1.discourse-cdn.com/flex032/uploads/synatic/original/2X/1/1da4d2602086ead61278fc4666ce54d531fd0db8.png)

Illustrated in the page below is the output after the Calculator step. The data has been read and converted into a Base64 string. This can now be used as required within Synatic.

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/synatic/original/2X/7/737b409aabca1908ebce585cfdad7d0d69eb4a11.png)
