<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Paramiko SFTP Get fails on databricks file system in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/paramiko-sftp-get-fails-on-databricks-file-system/m-p/49067#M28460</link>
    <description>&lt;P&gt;Thank you for sharing the solution. Many more users will find this information very useful.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Oct 2023 22:36:21 GMT</pubDate>
    <dc:creator>jose_gonzalez</dc:creator>
    <dc:date>2023-10-12T22:36:21Z</dc:date>
    <item>
      <title>Paramiko SFTP Get fails on databricks file system</title>
      <link>https://community.databricks.com/t5/data-engineering/paramiko-sftp-get-fails-on-databricks-file-system/m-p/46305#M28039</link>
      <description>&lt;P&gt;I have an SFTP server I need to routinely download Excel files from and put into GCP cloud storage buckets.&lt;BR /&gt;Every variation of the filepath to either my GCP path or just the dbfs in-built file system is giving an error of "&amp;nbsp;&lt;SPAN&gt;[Errno 2] No such file or directory:" Has anyone else encountered this before?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import paramiko

client = paramiko.SSHClient()
client.load_system_host_keys()
client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
client.connect(host, port=port, username=username, password=password)
sftp = client.open_sftp()

remote_path = "/Upload/filename.txt"
local_path = "/dbfs/filename.txt"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 18:52:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/paramiko-sftp-get-fails-on-databricks-file-system/m-p/46305#M28039</guid>
      <dc:creator>Kayla</dc:creator>
      <dc:date>2023-09-26T18:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Paramiko SFTP Get fails on databricks file system</title>
      <link>https://community.databricks.com/t5/data-engineering/paramiko-sftp-get-fails-on-databricks-file-system/m-p/48604#M28350</link>
      <description>&lt;P&gt;I've discovered the cause of this issue. The path of '/dbfs/{mount-name}/filename.file_extension' is functional, but what I'm actually running into is a restriction due to the cluster set to "Shared" access mode:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Cannot use R, RDD APIs, or clients that directly read the data from cloud storage, such as DBUtils.&lt;/LI&gt;&lt;/UL&gt;&lt;P class="lia-align-left"&gt;Changing the cluster mode resolved the issue.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 12:22:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/paramiko-sftp-get-fails-on-databricks-file-system/m-p/48604#M28350</guid>
      <dc:creator>Kayla</dc:creator>
      <dc:date>2023-10-06T12:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Paramiko SFTP Get fails on databricks file system</title>
      <link>https://community.databricks.com/t5/data-engineering/paramiko-sftp-get-fails-on-databricks-file-system/m-p/49067#M28460</link>
      <description>&lt;P&gt;Thank you for sharing the solution. Many more users will find this information very useful.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 22:36:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/paramiko-sftp-get-fails-on-databricks-file-system/m-p/49067#M28460</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2023-10-12T22:36:21Z</dc:date>
    </item>
  </channel>
</rss>

