<?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 multiple .xml.gz file from FTP in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/multiple-xml-gz-file-from-FTP/m-p/1124904#M887399</link>
    <description>&lt;P&gt;Hi I am trying to get bunch of .xml.gz file from ftp and copying them to my local folder with the below script in qlikview. But its not working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If i want to copy files from one local folder to another local folder it works. But for ftp it doesnt work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BatFile:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;'This is a batch file test' As [@echo off]&lt;/P&gt;&lt;P&gt;AutoGenerate(1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let vDate = Date(Today(),'YYYY-MM-DD');&lt;/P&gt;&lt;P&gt;Let vExt = '*.xml.gz';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For Each vFile in FileList('&lt;/SPAN&gt;&lt;A href="ftp://Username:Password.982@ServerName:21/folder/*.xml.gz" target="_blank" rel="nofollow"&gt;ftp://Username:Password.982@ServerName:21/folder/*.xml.gz&lt;/A&gt;&lt;SPAN&gt;')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BatFile:&lt;/P&gt;&lt;P&gt;FIRST 1 Load&lt;/P&gt;&lt;P&gt;'COPY $(vFile) C:\Users\Documents\TestFolder1\$(vDate)'&amp;amp;'_' &amp;amp; SubField('$(vFile)', '\', -1) As [@echo off]&lt;/P&gt;&lt;P&gt;FROM $(vFile) (txt);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Store BatFile into 'C:\Users\Documents\ABC'.bat (txt);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Drop Table BatFile;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EXECUTE C:\Users\Documents\ABC.bat;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if you have any questions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thnaks,&lt;/P&gt;&lt;P&gt;Sk&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>BootCam</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>multiple .xml.gz file from FTP</title>
      <link>https://community.qlik.com/t5/QlikView/multiple-xml-gz-file-from-FTP/m-p/1124904#M887399</link>
      <description>&lt;P&gt;Hi I am trying to get bunch of .xml.gz file from ftp and copying them to my local folder with the below script in qlikview. But its not working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If i want to copy files from one local folder to another local folder it works. But for ftp it doesnt work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BatFile:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;'This is a batch file test' As [@echo off]&lt;/P&gt;&lt;P&gt;AutoGenerate(1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let vDate = Date(Today(),'YYYY-MM-DD');&lt;/P&gt;&lt;P&gt;Let vExt = '*.xml.gz';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For Each vFile in FileList('&lt;/SPAN&gt;&lt;A href="ftp://Username:Password.982@ServerName:21/folder/*.xml.gz" target="_blank" rel="nofollow"&gt;ftp://Username:Password.982@ServerName:21/folder/*.xml.gz&lt;/A&gt;&lt;SPAN&gt;')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BatFile:&lt;/P&gt;&lt;P&gt;FIRST 1 Load&lt;/P&gt;&lt;P&gt;'COPY $(vFile) C:\Users\Documents\TestFolder1\$(vDate)'&amp;amp;'_' &amp;amp; SubField('$(vFile)', '\', -1) As [@echo off]&lt;/P&gt;&lt;P&gt;FROM $(vFile) (txt);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Store BatFile into 'C:\Users\Documents\ABC'.bat (txt);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Drop Table BatFile;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EXECUTE C:\Users\Documents\ABC.bat;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if you have any questions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thnaks,&lt;/P&gt;&lt;P&gt;Sk&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/multiple-xml-gz-file-from-FTP/m-p/1124904#M887399</guid>
      <dc:creator>BootCam</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: multiple .xml.gz file from FTP</title>
      <link>https://community.qlik.com/t5/QlikView/multiple-xml-gz-file-from-FTP/m-p/1124905#M887400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; But its not working.&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;What is not working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 10:31:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/multiple-xml-gz-file-from-FTP/m-p/1124905#M887400</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-09-02T10:31:16Z</dc:date>
    </item>
  </channel>
</rss>

