<?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: HOW TO MAKE FILE LIST USING FTP DIRECTORY? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/HOW-TO-MAKE-FILE-LIST-USING-FTP-DIRECTORY/m-p/921295#M986400</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not possible by FTP because the FTP-Protocoll didn't support any file-functions. You will need to create a loop with full-paths for each file or using of batches- see: &lt;A href="https://community.qlik.com/thread/104668"&gt;For Each File in Filelist - FTP load is not working?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jul 2015 11:22:55 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2015-07-30T11:22:55Z</dc:date>
    <item>
      <title>HOW TO MAKE FILE LIST USING FTP DIRECTORY?</title>
      <link>https://community.qlik.com/t5/QlikView/HOW-TO-MAKE-FILE-LIST-USING-FTP-DIRECTORY/m-p/921294#M986399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been trying to make a list of files downloaded from FTP server.&lt;/P&gt;&lt;P&gt;I used this code but no result in my table list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;//======================= A N R FILE LIST =============================&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;Sub DoDir (Root)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;for each Ext in 'xlsm'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt; for each File in filelist (Root&amp;amp;'\*.'&amp;amp;Ext)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp; Load &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; '$(File)' as SourceFile,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield('$(File)', '\', -1) as [File Name],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FileSize('$(File)') as Size,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FileTime('$(File)') as FileModified&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; autogenerate 1;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt; next File&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;next Ext&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;for each Dir in dirlist (Root&amp;amp;'\*')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt; call DoDir (Dir)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;next Dir&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;End sub&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;call DoDir('$(Var_ANRServer)')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;//=========================================================================&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Thanks for your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 09:08:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/HOW-TO-MAKE-FILE-LIST-USING-FTP-DIRECTORY/m-p/921294#M986399</guid>
      <dc:creator />
      <dc:date>2015-07-30T09:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO MAKE FILE LIST USING FTP DIRECTORY?</title>
      <link>https://community.qlik.com/t5/QlikView/HOW-TO-MAKE-FILE-LIST-USING-FTP-DIRECTORY/m-p/921295#M986400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not possible by FTP because the FTP-Protocoll didn't support any file-functions. You will need to create a loop with full-paths for each file or using of batches- see: &lt;A href="https://community.qlik.com/thread/104668"&gt;For Each File in Filelist - FTP load is not working?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 11:22:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/HOW-TO-MAKE-FILE-LIST-USING-FTP-DIRECTORY/m-p/921295#M986400</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-07-30T11:22:55Z</dc:date>
    </item>
  </channel>
</rss>

