# How to load multiple files from the FTP Server

**URL:** <https://community.synatic.com/t/how-to-load-multiple-files-from-the-ftp-server/231>\
**Category:** Flows\
**Tags:** helper-functions\
**Created:** [May 17, 2022, 4:56pm UTC](https://community.synatic.com/t/how-to-load-multiple-files-from-the-ftp-server/231 "2022-05-17T16:56:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![navessa](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.synatic.com/navessa/32/58_2.png) [@navessa](https://community.synatic.com/u/navessa)\
**Post date:** [May 17, 2022, 4:56pm UTC](https://community.synatic.com/t/how-to-load-multiple-files-from-the-ftp-server/231/1 "2022-05-17T16:56:07Z")

</div>

To load multiple files from the FTP Server, the **FTP List source step** is used.

Illustrated in the image below is the **FTP List source step**. To add a connection, click on the highlighted icon and fill in the required credentials to access the FTP Server. The **Path field** will be the path of the folder. The **Pattern field** will be a regex pattern to match the files names. The Limit field is the maximum number of files that you require to be returned. if left blank, it will return all the files.

NB: The below link assists with different **regex patterns** that can be used. It will be the pattern that is in between the quotes.

> [RegExp - JavaScript | MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp)

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

**NB:** To split the files, add a sub-flow or async flow after the FTP Server source step.
