Trying to connect SFTP directly in Databricks
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 01:25 PM
Hi,
As a proof of concept, I have created an ADLS and enabled SFTP> Created Local User and SSH Private key.
Now, I am trying to connect this SFTP connection directly in Databricks to create table or data frame.
Below is the code snipper I have used and the maven library -
com.springml : spark-sftp_2.11:1.1.5
code 1:
code 2:


Can anyone help me resolve this?
I am getting below error for both the syntax. I am not sure where the code or values needs to be changed.
Can anyone help me resolve this?