<?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 Ingest from FTP server doesn't work in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/ingest-from-ftp-server-doesn-t-work/m-p/3831#M740</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to connect my FTP server and store the files to a dataframe with the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%pip install ftputil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from ftputil import FTPHost&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Host = "92.118.67.49"&lt;/P&gt;&lt;P&gt;Login = "StrideNBM-DF_BO"&lt;/P&gt;&lt;P&gt;Passwd = "Sdf123456"&lt;/P&gt;&lt;P&gt;ftp_dir = "/dwh-reports/"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with FTPHost(Host, Login, Passwd) as ftp:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ftp.chdir(ftp_dir)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; files = ftp.listdir(ftp.curdir)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; print(files)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm getting the following error: FTPOSError: [Errno 110] Connection timed out&lt;/P&gt;&lt;P&gt;Debugging info: ftputil 5.0.4, Python 3.9.5 (linux)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Important to mention that i whitelisted my local computer's IP and checked the FTP connection with WinSCP and it did worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My cluster's runtime version is 11.3 LTS (includes Apache Spark 3.3.0, Scala 2.12)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appriciate you help and perhapse offer an alternative solution from you end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Eyal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 31 May 2023 08:13:58 GMT</pubDate>
    <dc:creator>eyalo</dc:creator>
    <dc:date>2023-05-31T08:13:58Z</dc:date>
    <item>
      <title>Ingest from FTP server doesn't work</title>
      <link>https://community.databricks.com/t5/data-engineering/ingest-from-ftp-server-doesn-t-work/m-p/3831#M740</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to connect my FTP server and store the files to a dataframe with the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%pip install ftputil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from ftputil import FTPHost&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Host = "92.118.67.49"&lt;/P&gt;&lt;P&gt;Login = "StrideNBM-DF_BO"&lt;/P&gt;&lt;P&gt;Passwd = "Sdf123456"&lt;/P&gt;&lt;P&gt;ftp_dir = "/dwh-reports/"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with FTPHost(Host, Login, Passwd) as ftp:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ftp.chdir(ftp_dir)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; files = ftp.listdir(ftp.curdir)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; print(files)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm getting the following error: FTPOSError: [Errno 110] Connection timed out&lt;/P&gt;&lt;P&gt;Debugging info: ftputil 5.0.4, Python 3.9.5 (linux)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Important to mention that i whitelisted my local computer's IP and checked the FTP connection with WinSCP and it did worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My cluster's runtime version is 11.3 LTS (includes Apache Spark 3.3.0, Scala 2.12)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appriciate you help and perhapse offer an alternative solution from you end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Eyal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 08:13:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ingest-from-ftp-server-doesn-t-work/m-p/3831#M740</guid>
      <dc:creator>eyalo</dc:creator>
      <dc:date>2023-05-31T08:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Ingest from FTP server doesn't work</title>
      <link>https://community.databricks.com/t5/data-engineering/ingest-from-ftp-server-doesn-t-work/m-p/118682#M45683</link>
      <description>&lt;P&gt;I'm afraid I don't have an answer, and I know this is an old post, but if you haven't already, I'd recommend changing the password if that is/was a genuine password.&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2025 13:19:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ingest-from-ftp-server-doesn-t-work/m-p/118682#M45683</guid>
      <dc:creator>Kayla</dc:creator>
      <dc:date>2025-05-09T13:19:08Z</dc:date>
    </item>
  </channel>
</rss>

