VOOZH about

URL: https://www.cdata.com/kb/tech/sftp-odbc-openoffice-base.rst

⇱ How to Easily Query SFTP Data in OpenOffice Base


How to Easily Query SFTP Data in OpenOffice Base

πŸ‘ Mohsin Turki
Mohsin Turki
Technical Marketing Engineer
Connect to SFTP data in OpenOffice Base using the CData ODBC Driver for SFTP and generate reports with live data insights.

Apache OpenOffice Base is a versatile, free database tool that makes connecting and managing data easy. With CData ODBC Driver for SFTP, you can seamlessly integrate and query live SFTP data, bringing real-time insights directly into OpenOffice.

This guide simplifies the setup, showing you how to connect SFTP to OpenOffice Base so you can easily generate reports, analyze trends, and make informed decisions right within your familiar workspace.

Overview

Here is an overview of the steps:

  1. CONFIGURE: Configure the DSN for SFTP data in the CData ODBC Driver for SFTP, using the required connection properties.
  2. CONNECT: Set up the ODBC connection in OpenOffice Base using the configured DSN.
  3. IMPORT: Once connected, review the available metadata and tables.
  4. CREATE: Create a report based on the queried SFTP data data.

Configure the SFTP DSN Using the CData ODBC Driver for SFTP

To start, configure the DSN (Data Source Name) for SFTP data in your system using the CData ODBC Driver for SFTP. Download and install a 30-day free trial with all the features from here.

Once installed, launch the ODBC Data Source Administrator:

  • On Windows: Search for ODBC Data Source Administrator in the Start menu and open the application.
  • On Mac: Open Applications, go to Utilities, and select ODBC Manager.
  • On Linux: Use the command line to launch ODBC Data Source Administrator or use unixODBC if installed.
πŸ‘ ODBC Data Source Administrator

Once launched, double-click on the CData SFTP data Source and enter the required values to establish a connection:

SFTP can be used to transfer files to and from SFTP servers using the SFTP Protocol. To connect, specify the RemoteHost;. service uses the User and Password and public key authentication (SSHClientCert). Choose an SSHAuthMode and specify connection values based on your selection.

Set the following connection properties to control the relational view of the file system:

  • RemotePath: Set this to the current working directory.
  • TableDepth: Set this to control the depth of subfolders to report as views.
  • FileRetrievalDepth: Set this to retrieve files recursively and list them in the Root table.
Stored Procedures are available to download files, upload files, and send protocol commands. See gdatamodel for more on using SQL to interact with the server. πŸ‘ Configuring a DSN (Salesforce is shown)

Setup an ODBC Connection in OpenOffice Base

Once you've set up the DSN, it's time to connect to it in OpenOffice Base and start querying data:

Your connection is now established β€” ready to query and analyze data seamlessly within OpenOffice Base.


Review the Metadata and Tables

After the database file is created and the connection is established, the table list will automatically display all available SFTP data objects.

  • Review the SFTP data Object List: In the left pane, click on Tables to view the SFTP data objects now available within OpenOffice Base.
  • View Object Data: Click on any object to view its contents. The SFTP data data will display directly within OpenOffice Base, allowing you to review records and fields with ease.
πŸ‘ Apache OpenOffice Base Metadata (Salesforce data is shown)

That's it! You have now successfully established a connection to SFTP data in OpenOffice Base, with data readily available for analysis and reporting.


Create a Report

Now, let's generate a report based on your SFTP data data.

Your report is now created, drawing live data directly from SFTP data, and ready for analysis.


Try CData Free for 30 Days

Experience the power of live SFTP data data at your fingertips and seamlessly integrate it into OpenOffice Base. Start your free trial today!

Ready to get started?

Download a free trial of the SFTP ODBC Driver to get started:

 Download Now

Learn more:

πŸ‘ SFTP Icon
SFTP ODBC Driver

The SFTP ODBC Driver is a powerful tool that allows you to connect with live data from remote files and directories, directly from any applications that support ODBC connectivity.

Access remote data like you would a database through a standard ODBC Driver interface.