Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hello Everyone, I want to access SFTP Server data using fabric Notebook but for that I need to set Inbound Rule . As Notebook will have dynamic IP then how can we allow Notebook IP to access Port 22? Thank you in advance . Please advise
Solved! Go to Solution.
HI @PrachiJain06,
I'd like to suggest you try to use the Connection and Transfer to connect and get data from SFTP to local device. Then you can simply use notebook handle this type of data source.
# Import Fabric connection and transfer classes
from fabric import Connection, Transfer
# Create a connection object with host, user and port
conn = Connection(host="computer.xxx.xxx.com", user="user", port=22)
# Create a transfer object with the connection
trans = Transfer(conn)
# Copy a file from the SFTP server to the local filesystem
trans.get("myfile.csv", "myfile.csv")
How to use notebooks - Microsoft Fabric | Microsoft Learn
Regards,
Xiaoxin Sheng
HI @PrachiJain06,
I'd like to suggest you try to use the Connection and Transfer to connect and get data from SFTP to local device. Then you can simply use notebook handle this type of data source.
# Import Fabric connection and transfer classes
from fabric import Connection, Transfer
# Create a connection object with host, user and port
conn = Connection(host="computer.xxx.xxx.com", user="user", port=22)
# Create a transfer object with the connection
trans = Transfer(conn)
# Copy a file from the SFTP server to the local filesystem
trans.get("myfile.csv", "myfile.csv")
How to use notebooks - Microsoft Fabric | Microsoft Learn
Regards,
Xiaoxin Sheng
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
10 | |
3 | |
3 | |
2 | |
2 |