<?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: Carregar arquivos com o mesmo nome dentro de pastas diferentes in Brasil</title>
    <link>https://community.qlik.com/t5/Brasil/Carregar-arquivos-com-o-mesmo-nome-dentro-de-pastas-diferentes/m-p/751455#M22784</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Juliana&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Vc consegui separar por pasta colocando &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD '2012.12' AS TIPO_DA_PESQUISA,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..\dados\2012.12\201212.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is 2012.12);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;item para as pasta de baixo &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Jan 2015 15:13:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-22T15:13:25Z</dc:date>
    <item>
      <title>Carregar arquivos com o mesmo nome dentro de pastas diferentes</title>
      <link>https://community.qlik.com/t5/Brasil/Carregar-arquivos-com-o-mesmo-nome-dentro-de-pastas-diferentes/m-p/751453#M22782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bom dia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tenho um determinado diretório dentro do meu servidor de arquivos onde são salvas as bases de dados que utilizarei em um aplicativo.&lt;/P&gt;&lt;P&gt;Nesse diretório, tenho as pastas nomeadas pela data da base, conforme a imagem:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capturar.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/75919_Capturar.PNG" style="height: 575px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Dentro de cada pasta dessa, eu tenho um arquivo xls, porém todos os arquivos tem o mesmo nome, então isso não seria o problema.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Será que existe uma forma de identificar todas as pastas dentro de um diretório (tipo um FileList, mas para pasta), e com isso utilizar o for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ou também se conhecerem alguma outra solução...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Desde já agradeço.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2015 13:24:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Carregar-arquivos-com-o-mesmo-nome-dentro-de-pastas-diferentes/m-p/751453#M22782</guid>
      <dc:creator>julianacampag</dc:creator>
      <dc:date>2015-01-22T13:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: Carregar arquivos com o mesmo nome dentro de pastas diferentes</title>
      <link>https://community.qlik.com/t5/Brasil/Carregar-arquivos-com-o-mesmo-nome-dentro-de-pastas-diferentes/m-p/751454#M22783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the script you need, let me know:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;For&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;i&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=2013 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;to&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; 2014&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;For&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;j&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=1 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;to&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; 12&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Let&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;Directory&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(i)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;amp; '.' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(j)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'00');&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;let&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;Mypath&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = '..\..\qlik\$(Directory)\myExcelFile.xlsx';&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;for&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;each&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;File&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;in&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;filelist&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;path_Pallet&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt; Data:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(File)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Foglio1);&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;ENDIF&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;next&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;File&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;NEXT&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;NEXT &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2015 13:32:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Carregar-arquivos-com-o-mesmo-nome-dentro-de-pastas-diferentes/m-p/751454#M22783</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-01-22T13:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Carregar arquivos com o mesmo nome dentro de pastas diferentes</title>
      <link>https://community.qlik.com/t5/Brasil/Carregar-arquivos-com-o-mesmo-nome-dentro-de-pastas-diferentes/m-p/751455#M22784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Juliana&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Vc consegui separar por pasta colocando &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD '2012.12' AS TIPO_DA_PESQUISA,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..\dados\2012.12\201212.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is 2012.12);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;item para as pasta de baixo &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2015 15:13:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Carregar-arquivos-com-o-mesmo-nome-dentro-de-pastas-diferentes/m-p/751455#M22784</guid>
      <dc:creator />
      <dc:date>2015-01-22T15:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Carregar arquivos com o mesmo nome dentro de pastas diferentes</title>
      <link>https://community.qlik.com/t5/Brasil/Carregar-arquivos-com-o-mesmo-nome-dentro-de-pastas-diferentes/m-p/751456#M22785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Boa tarde Marcelo,&lt;/P&gt;&lt;P&gt;entendo que basta fazer um concatenate, mas a intenção é gerar o script de tal forma que não seja necessário dar manutenção mensalmente. Da forma como você colocou, eu sempre precisaria entrar no script e acrescentar o mês corrente.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consegui resolver o problema com o script postado pelo &lt;A href="https://community.qlik.com/qlik-users/28979"&gt;Yuri Nicolett&lt;/A&gt; neste tópico &lt;A href="https://community.qlik.com/thread/128263"&gt;Importar Arquivos Excel de Pastas e Subpastas&lt;/A&gt;. Ali, independente do nome do arquivo ou da quantidade de pastas que eu tenha, ele varre todo o diretório e traz certinho o caminho e o nome do arquivo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2015 15:43:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Carregar-arquivos-com-o-mesmo-nome-dentro-de-pastas-diferentes/m-p/751456#M22785</guid>
      <dc:creator>julianacampag</dc:creator>
      <dc:date>2015-01-22T15:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Carregar arquivos com o mesmo nome dentro de pastas diferentes</title>
      <link>https://community.qlik.com/t5/Brasil/Carregar-arquivos-com-o-mesmo-nome-dentro-de-pastas-diferentes/m-p/751457#M22786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Que bom que ajudou Juliana! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 17:58:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Carregar-arquivos-com-o-mesmo-nome-dentro-de-pastas-diferentes/m-p/751457#M22786</guid>
      <dc:creator>nicolett_yuri</dc:creator>
      <dc:date>2015-01-23T17:58:01Z</dc:date>
    </item>
  </channel>
</rss>

