<?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 FileNotFoundError: [Errno 2] /dbfs/fileone.csv in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/filenotfounderror-errno-2-dbfs-fileone-csv/m-p/31599#M23026</link>
    <description>&lt;P&gt;I'm trying to transfer my csv file from databricks to sftp but i'm getting file not found error.&lt;/P&gt;&lt;P&gt;here is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;file_size = sftp.stat("/dbfs/fileone.csv").st_size&lt;/P&gt;&lt;P&gt;with open("/dbfs/fileone.csv", "rb") as fl:&lt;/P&gt;&lt;P&gt;return self.putfo(fl, Destinationpath, file_size, callback, confirm)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 04:27:32 GMT</pubDate>
    <dc:creator>Haima</dc:creator>
    <dc:date>2022-09-16T04:27:32Z</dc:date>
    <item>
      <title>FileNotFoundError: [Errno 2] /dbfs/fileone.csv</title>
      <link>https://community.databricks.com/t5/data-engineering/filenotfounderror-errno-2-dbfs-fileone-csv/m-p/31599#M23026</link>
      <description>&lt;P&gt;I'm trying to transfer my csv file from databricks to sftp but i'm getting file not found error.&lt;/P&gt;&lt;P&gt;here is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;file_size = sftp.stat("/dbfs/fileone.csv").st_size&lt;/P&gt;&lt;P&gt;with open("/dbfs/fileone.csv", "rb") as fl:&lt;/P&gt;&lt;P&gt;return self.putfo(fl, Destinationpath, file_size, callback, confirm)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 04:27:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/filenotfounderror-errno-2-dbfs-fileone-csv/m-p/31599#M23026</guid>
      <dc:creator>Haima</dc:creator>
      <dc:date>2022-09-16T04:27:32Z</dc:date>
    </item>
  </channel>
</rss>

