<?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 check file in FTP in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/check-file-in-FTP/m-p/2023829#M84483</link>
    <description>&lt;P&gt;Hello everybody,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;in QlikSense, I would need to test the possible presence of a .csv file, within an FTP site, before uploading it.&lt;BR /&gt;I was thinking of using the filesize() function as I have done in the past with QlikView.&lt;BR /&gt;But it doesn't work: &lt;SPAN&gt;the variable &lt;EM&gt;vFileExists&lt;/EM&gt;&amp;nbsp; always returns 0 even if the file exists.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;This what I wrote:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;LET vFileExists = not isNull(filesize('&lt;A href="ftp://sense:Yu7..P4nW6L4@ftpecomm.dmospa.local/daElaborare/SENSE2023.csv" target="_blank" rel="noopener"&gt;ftp://sense:Yu7..P4nW6L4@ftpecomm.dmospa.local/daElaborare/SENSE2023.csv&lt;/A&gt;'));&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Maybe I'm doing the syntax wrong?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;stefano&lt;/P&gt;</description>
    <pubDate>Tue, 10 Jan 2023 14:03:14 GMT</pubDate>
    <dc:creator>stefano_marson</dc:creator>
    <dc:date>2023-01-10T14:03:14Z</dc:date>
    <item>
      <title>check file in FTP</title>
      <link>https://community.qlik.com/t5/App-Development/check-file-in-FTP/m-p/2023829#M84483</link>
      <description>&lt;P&gt;Hello everybody,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;in QlikSense, I would need to test the possible presence of a .csv file, within an FTP site, before uploading it.&lt;BR /&gt;I was thinking of using the filesize() function as I have done in the past with QlikView.&lt;BR /&gt;But it doesn't work: &lt;SPAN&gt;the variable &lt;EM&gt;vFileExists&lt;/EM&gt;&amp;nbsp; always returns 0 even if the file exists.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;This what I wrote:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;LET vFileExists = not isNull(filesize('&lt;A href="ftp://sense:Yu7..P4nW6L4@ftpecomm.dmospa.local/daElaborare/SENSE2023.csv" target="_blank" rel="noopener"&gt;ftp://sense:Yu7..P4nW6L4@ftpecomm.dmospa.local/daElaborare/SENSE2023.csv&lt;/A&gt;'));&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Maybe I'm doing the syntax wrong?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;stefano&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 14:03:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/check-file-in-FTP/m-p/2023829#M84483</guid>
      <dc:creator>stefano_marson</dc:creator>
      <dc:date>2023-01-10T14:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: check file in FTP</title>
      <link>https://community.qlik.com/t5/App-Development/check-file-in-FTP/m-p/2023893#M84487</link>
      <description>&lt;P&gt;FTP doesn't support the usual file-functions. You will need specialized ftp-functions maybe you could evaluate the return of ftp mdir or as an alternatively you transfers the files in beforehand to a local drive with mget or similar functions. Here a starting point:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/ftp.mdir" target="_blank"&gt;ftp mdir | Microsoft Learn&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 15:21:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/check-file-in-FTP/m-p/2023893#M84487</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-01-10T15:21:03Z</dc:date>
    </item>
  </channel>
</rss>

