<?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 FTP iteration to pull and load files in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/FTP-iteration-to-pull-and-load-files/m-p/157017#M32664</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Rakesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for replying - yep still no success - I'm trying to work out if indeed it is posisble in QV to do this without using external scripts - but it seems it may not be!&lt;/P&gt;&lt;P&gt;If I can't do it through QV I will definitely do what you suggested about the FTP program or batch file.&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;Davydd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Feb 2010 09:32:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-02-24T09:32:49Z</dc:date>
    <item>
      <title>FTP iteration to pull and load files</title>
      <link>https://community.qlik.com/t5/QlikView/FTP-iteration-to-pull-and-load-files/m-p/157015#M32662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I've been trying to work out how to log into a FTP server using QV, iterate through all the files on the server using a QV script&lt;/P&gt;&lt;P&gt;and pull in files with a creation date greater than the last time the script searches for the file...&lt;/P&gt;&lt;P&gt;So far I've got this far (straight from the QV documentation almost!) using a subroutine which is able to read files from a directory (or in this case just read the names of the files in the directory) on the local machine... However I want to be able to do this via FTP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub DoDir (Root)&lt;/P&gt;&lt;P&gt;for each File in filelist (Root&amp;amp;'*.csv' )&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;'$(File)' as Name,&lt;/P&gt;&lt;P&gt;FileSize('$(File)') as Size,&lt;/P&gt;&lt;P&gt;FileTime('$(File)') as FileTime&lt;/P&gt;&lt;P&gt;autogenerate 1;&lt;/P&gt;&lt;P&gt;next File&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call dodir('c:\temp\*.csv');&lt;/P&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;How would I do this? I changed the DoDir ROOT parameter to ftp://username:password@ftpservername.com/*.* but it doesn't work...&lt;/DIV&gt;&lt;DIV&gt;I also tried to use the Directory statement to point to the same link but it didn't work either...&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Davydd&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 22:22:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FTP-iteration-to-pull-and-load-files/m-p/157015#M32662</guid>
      <dc:creator />
      <dc:date>2010-02-23T22:22:50Z</dc:date>
    </item>
    <item>
      <title>FTP iteration to pull and load files</title>
      <link>https://community.qlik.com/t5/QlikView/FTP-iteration-to-pull-and-load-files/m-p/157016#M32663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Davydd, I think we discussed this before here: &lt;A href="http://community.qlik.com/forums/p/25480/97295.aspx#97295"&gt;http://community.qlik.com/forums/p/25480/97295.aspx#97295&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Still no success?&lt;/P&gt;&lt;P&gt;I am not sure if you can read directly from FTP directories. I would rather have a batch file which will download the file and then load these files. You can call this batch file in a loof of the script using EXECUTE for each file or as a first step for downloading all the files in a directory first.&lt;/P&gt;&lt;P&gt;Other options would be to look for some utility program which would let you map FTP directories as local drive (like Y:) on your PC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 22:29:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FTP-iteration-to-pull-and-load-files/m-p/157016#M32663</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2010-02-23T22:29:53Z</dc:date>
    </item>
    <item>
      <title>FTP iteration to pull and load files</title>
      <link>https://community.qlik.com/t5/QlikView/FTP-iteration-to-pull-and-load-files/m-p/157017#M32664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Rakesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for replying - yep still no success - I'm trying to work out if indeed it is posisble in QV to do this without using external scripts - but it seems it may not be!&lt;/P&gt;&lt;P&gt;If I can't do it through QV I will definitely do what you suggested about the FTP program or batch file.&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;Davydd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 09:32:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FTP-iteration-to-pull-and-load-files/m-p/157017#M32664</guid>
      <dc:creator />
      <dc:date>2010-02-24T09:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: FTP iteration to pull and load files</title>
      <link>https://community.qlik.com/t5/QlikView/FTP-iteration-to-pull-and-load-files/m-p/157018#M32665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can map&amp;nbsp;it&amp;nbsp;to a drive LETTER with 'FTP DRIVE' &lt;A href="http://www.killprog.com/fdrve.html"&gt;http://www.killprog.com/fdrve.html&lt;/A&gt;&amp;nbsp;AND THEN REDO &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 17:13:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FTP-iteration-to-pull-and-load-files/m-p/157018#M32665</guid>
      <dc:creator />
      <dc:date>2012-03-14T17:13:25Z</dc:date>
    </item>
  </channel>
</rss>

