How to import data from FTP servers?

Import data from FTP servers




You can import files from FTP servers using the following steps. 

To import data using an FTP connection

1. Create a pipeline or open an existing pipeline from the Home Page, Pipelines tab or Workspaces tab and click the Add data option. You can also click the Import data option under the Workspaces tab to import data.  
Info: You can also click the Import data  icon at the top of the pipeline builder and bring data from multiple sources into the pipeline.



2. Choose the FTP option in the Choose your data source section.



3. Give a connection name. Configure the FTP connection to connect to the server and fetch the file. You can enable the Import from local network toggle to import data that match the specific . Click here to know more.



4. Select the FTP server type.

5. Enter the FTP server host. You can also enter the IP address or the FQDN (Fully Qualified Domain Name) of the server.

6. Enter the username and password if authentication is required.

Note: The connection configuration will be saved for importing data in the future. Credentials are securely encrypted and stored. 

7. Give a name to your connection in the Connection name text box.



8. Click Import to upload data into Zoho DataPrep from the FTP server. 

9. Once all files are successfully imported, it will take you to the Pipeline builder page where you can start applying transforms. You can also right-click the stage and choose the Prepare data option to prepare your data in the DataPrep Studio page.



10. Once you are done creating your data flow and applying necessary transforms in your stages, you can right-click a stage and add a destination to complete your data flow.

Note:  After adding a destination to the pipeline, you can try executing your pipeline using a manual run at first. Once you make sure manual run works, you can then set up schedule to automate the pipeline. Learn about the different types of runs here.

To import data from local network

Using the Import data from local network toggle, you can perform dynamic file selection based on the regex. This can be used for getting new or incremental data from your FTP servers. Incremental fetch is a method used to import new files from a source after the previous sync. Zoho DataPrep helps you import incremental data from your local files using Zoho Databridge.

Important: This option is used not only for incremental fetch. You can also use this option for bulk import of files based on the file pattern.

1. Enable the Import from local network toggle if you want to import local files from your FTP server incrementally.

 

Info: Please ensure that you have installed Zoho Databridge in your machine to import files from FTP . Click here to know how to download and install Zoho Databridge.

 

2. Choose an active Databridge.

 

3. Configure FTP connection to connect to the server and fetch the file.

 

4. Select one of the below options in the FTP server type drop down.

  • FTP - File Transfer

  • FTPS - File Transfer Over Implicit TLS/SSL

  • FTPS - File Transfer Over Explicit TLS/SSL

  • SFTP - SSH File Transfer Protocol

 

 

5. Enter the FTP server host. You can also enter the IP address or the FQDN (Fully Qualified Domain Name) of the server.

 

6. Enter the Username and Password if authentication is required.


Note: The connection configuration will be saved for importing data in the future. Credentials are securely encrypted and stored.

 

7. Give a name to your connection in the Connection name text box.

 

8. Click the Connect button and provide the following details.


Folder path : The folder path where you want to search for files. Eg. /srv/ftp/filesfortest/

Info: Folder path is case-sensitive.

Include subfolders : You can select this checkbox if you want to include subfolders while searching for a file.

File pattern : The pattern used to match the file names in the specified location. This supports regex type matching. You can also use the pattern, ".*" to match any file in the path specified.

For example, to fetch files with names such as Sales_2022.csv , Sales_2023.csv , Sales_2024.csv , you can input the pattern Sales_.* 

Similarly to fetch files such as PublicData1.csv , PublicData2.csv , PublicData3.csv , use Public.*

If you want to import a single file, then specify the pattern using the exact file name.
Eg: leads_jan_2022.*

Info: File pattern is case-sensitive.

Parse file as : Choose the required extension to parse the file. If your file format is not a commonly used one, you can use this option to parse the file into one of the following formats before importing the data into a readable format. The available formats are CSV, TSV, JSON, XML, and TXT.

Merge files and import - This will merge all the files that match the pattern specified and import them as a single dataset.

You can use this option to merge files together during the import itself, without having to perform unions post import.

Info: This option can merge a maximum of only 5 files at a time.
Note: If this checkbox is unchecked then, only 1 file will be fetched at a time.

Eg. If your FTP server has 10 files in a path, the first 5 will be merged into one dataset and imported. During the next reload, the remaining 5 files will be merged and imported.

Similarly, if your FTP server has 8 files in a path, the first 5 will be merged and fetched first, followed by the next 3.

9. Click Import to upload data into Zoho DataPrep from the FTP server.


To edit the FTP connection

DataPrep saves your data connections to avoid the hassle of keying in the credentials every time you need to connect to a data source or destination. You can always edit the saved data connection and update them with new parameters or credentials using the Edit connection option. 

1. While importing a data in a pipeline, click Saved data connections from the left pane in the Choose a data source section. 



2. You can manage your saved data connections right from the data import screen. Click the ellipsis (3 dots) icon to share, edit, view the connection overview, or remove the connection. 




3. Click the Edit connection option to update the saved connection with new parameters or credentials. 




SEE ALSO 
How to add a new pipeline?
How to import data from URLs?

    Zoho CRM Training Programs

    Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

    Zoho CRM Training
      Redefine the way you work
      with Zoho Workplace

        Zoho DataPrep Personalized Demo

        If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

        Zoho CRM Training

          Create, share, and deliver

          beautiful slides from anywhere.

          Get Started Now


            Zoho Sign now offers specialized one-on-one training for both administrators and developers.

            BOOK A SESSION











                                        You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                            Manage your brands on social media

                                              Zoho Desk Resources

                                              • Desk Community Learning Series


                                              • Digest


                                              • Functions


                                              • Meetups


                                              • Kbase


                                              • Resources


                                              • Glossary


                                              • Desk Marketplace


                                              • MVP Corner


                                              • Word of the Day


                                                Zoho Marketing Automation

                                                  Zoho Sheet Resources

                                                   

                                                      Zoho Forms Resources


                                                        Secure your business
                                                        communication with Zoho Mail


                                                        Mail on the move with
                                                        Zoho Mail mobile application

                                                          Stay on top of your schedule
                                                          at all times


                                                          Carry your calendar with you
                                                          Anytime, anywhere




                                                                Zoho Sign Resources

                                                                  Sign, Paperless!

                                                                  Sign and send business documents on the go!

                                                                  Get Started Now




                                                                          Zoho TeamInbox Resources



                                                                                  Zoho DataPrep Resources



                                                                                    Zoho DataPrep Demo

                                                                                    Get a personalized demo or POC

                                                                                    REGISTER NOW


                                                                                      Design. Discuss. Deliver.

                                                                                      Create visually engaging stories with Zoho Show.

                                                                                      Get Started Now









                                                                                                          • Related Articles

                                                                                                          • Export data to FTP servers

                                                                                                            You can export files to FTP servers using the following steps. To export data to FTP servers 1. Open an existing pipeline or create a pipeline from the Home Page, Pipelines tab or Workspaces tab. You can bring your data from 50+sources. 2. On the ...
                                                                                                          • Import data from URLs

                                                                                                            You can enter the URL to a CSV, TSV, JSON, HTML, XLS, XLSX or XML file. DataPrep also supports URL imports that require authentication. To import files from URLs 1. Create a pipeline or open an existing pipeline from the Home Page, Pipelines tab or ...
                                                                                                          • Import data using saved data connections

                                                                                                            DataPrep saves your data connections to avoid hassles in keying them often. To access your saved data connections 1. Create a pipeline or open an existing pipeline from the Home Page, Pipelines tab or Workspaces tab and click the Add data option. You ...
                                                                                                          • Import data from a local filesystem

                                                                                                            In DataPrep, you can import various file types, including CSV, TSV, JSON, HTML, XLS, XLSX and XML. Note : 1. DataPrep also supports files without any extension or files in plain text format. However, binary files cannot be parsed during import; users ...
                                                                                                          • Import options

                                                                                                            DataPrep offers a wide range of import options. Your data can be imported from BI tools, cloud storage services, cloud databases. To import your data, 1. Create a pipeline or open an existing pipeline from the Home Page, Pipelines tab or Workspaces ...
                                                                                                            Wherever you are is as good as
                                                                                                            your workplace

                                                                                                              Resources

                                                                                                              Videos

                                                                                                              Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                              eBooks

                                                                                                              Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                              Webinars

                                                                                                              Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                              CRM Tips

                                                                                                              Make the most of Zoho CRM with these useful tips.



                                                                                                                Zoho Show Resources