Create a Local File Connection
This guide shows you how to create a Local File connection in Ascend.
Prerequisites​
- Ascend Project
- Ascend Workspace
- File directory for your local files
- Path: The path to the local directory containing your data files
- [Additional requirements specific to the connection]
Create a new Local File Connection
Begin from your workspace Super Graph view. Follow these steps to create your connection:
- Using the Connection Form
- Using the Files Panel
- To start creating a connection, either:
- Click the + button next to Connections in the left Build panel
- Or right-click anywhere in the Super Graph and hover over Create Connection
- Name your connection `read_local_file`
- Select Local File from the available options
- Complete the required form fields (along with any desired optional fields)
- Scroll to the bottom and click Save to create your Connection

- Open the files panel in the top left corner
- Right-click on the Connections directory and choose New File

- Name your file with a descriptive name like `read_local_file.yaml` and press enter
To learn more about the different options for Connections, check out our reference guide.
Example​
Use the following YAML template for your Local File connection. Customize the highlighted values with your specific connection details:
/my_project/connections/local_file_connection.yaml
connection:
local_file:
root: <root-folder>