<?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: Download a file zip with using variable DATE in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Download-a-file-zip-with-using-variable-DATE/m-p/2310772#M81870</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOW6AAO"&gt;@mbocquet&lt;/A&gt;this is not very fairplay to accept your own answer instead of the one from the guy whom had help you&lt;/P&gt;</description>
    <pubDate>Sat, 23 Jun 2018 13:44:50 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2018-06-23T13:44:50Z</dc:date>
    <item>
      <title>Download a file zip with using variable DATE</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Download-a-file-zip-with-using-variable-DATE/m-p/2310764#M81862</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I have to download a zip file from&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://leidata.gleif.org/api/v1/concatenated-files/lei2/20180622/zip&amp;nbsp;" target="_blank" rel="nofollow noopener noreferrer"&gt;https://leidata.gleif.org/api/v1/concatenated-files/lei2/20180622/zip&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I want to use a date variable to download every day&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use tFileFetch and with direct link works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can somebody help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jun 2018 10:06:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Download-a-file-zip-with-using-variable-DATE/m-p/2310764#M81862</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-23T10:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Download a file zip with using variable DATE</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Download-a-file-zip-with-using-variable-DATE/m-p/2310765#M81863</link>
      <description>&lt;P&gt;You can try this:&lt;/P&gt;&lt;PRE&gt;"https://leidata.gleif.org/api/v1/concatenated-files/lei2/" + 
  TalendDate.formatDate("yyyyMMdd",TalendDate.getCurrentDate()) +
  "/zip"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jun 2018 10:12:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Download-a-file-zip-with-using-variable-DATE/m-p/2310765#M81863</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-06-23T10:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: Download a file zip with using variable DATE</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Download-a-file-zip-with-using-variable-DATE/m-p/2310766#M81864</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I gave this error:&lt;/P&gt;
&lt;P&gt;Execution failed : Job compile errors&lt;BR /&gt;At least job "test" has a compile errors, please fix and export again.&lt;BR /&gt;Error Line: 559&lt;BR /&gt;Detail Message: Syntax error on token "yyyyMMdd", invalid AssignmentOperator&lt;BR /&gt;There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I put this on URI&amp;nbsp;"&lt;A href="https://leidata.gleif.org/api/v1/concatenated-files/lei2/&amp;quot;+TalendDate.formatDate(&amp;quot;yyyyMMdd&amp;quot;,TalendDate.getCurrentDate" target="_blank" rel="nofollow noopener noreferrer"&gt;https://leidata.gleif.org/api/v1/concatenated-files/lei2/"+TalendDate.formatDate("yyyyMMdd",TalendDate.getCurrentDate&lt;/A&gt;()) +"/zip"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and If it's possible to create a variable that&amp;nbsp; user can put the date?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jun 2018 10:35:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Download-a-file-zip-with-using-variable-DATE/m-p/2310766#M81864</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-23T10:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Download a file zip with using variable DATE</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Download-a-file-zip-with-using-variable-DATE/m-p/2310767#M81865</link>
      <description>&lt;P&gt;Share your tFileFtech settings.&lt;/P&gt;
&lt;P&gt;If you want the user to enter the date when the job starts (that's it?), define a context variable (theDate for example) with datatype, tick the option "active prompt on variable" and enter a prompt value for the message.&lt;/P&gt;
&lt;P&gt;Then&amp;nbsp;change the expression by the following:&lt;/P&gt;
&lt;PRE&gt;"https://leidata.gleif.org/api/v1/concatenated-files/lei2/" + 
  context.theDate +
  "/zip"&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jun 2018 10:53:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Download-a-file-zip-with-using-variable-DATE/m-p/2310767#M81865</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-06-23T10:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Download a file zip with using variable DATE</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Download-a-file-zip-with-using-variable-DATE/m-p/2310768#M81866</link>
      <description>&lt;P&gt;Ok thanks, now I can put the date and download the file, the only things that I think I make wrong is the name of file to save.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to be named like the variable theDate.zip.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtCC"&gt;talend.jpg&lt;/A&gt;</description>
      <pubDate>Sat, 23 Jun 2018 11:18:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Download-a-file-zip-with-using-variable-DATE/m-p/2310768#M81866</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-23T11:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Download a file zip with using variable DATE</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Download-a-file-zip-with-using-variable-DATE/m-p/2310769#M81867</link>
      <description>&lt;P&gt;Great!&lt;/P&gt;&lt;P&gt;Thanks to mark your case as solved.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jun 2018 11:37:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Download-a-file-zip-with-using-variable-DATE/m-p/2310769#M81867</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-06-23T11:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Download a file zip with using variable DATE</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Download-a-file-zip-with-using-variable-DATE/m-p/2310770#M81868</link>
      <description>&lt;P&gt;The only things that doesnt work is the name of the file, Is it possible to make it variable like theDate?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jun 2018 12:00:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Download-a-file-zip-with-using-variable-DATE/m-p/2310770#M81868</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-23T12:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: Download a file zip with using variable DATE</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Download-a-file-zip-with-using-variable-DATE/m-p/2310771#M81869</link>
      <description>&lt;P&gt;solved:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;""+context.theDate +".zip"&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jun 2018 13:06:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Download-a-file-zip-with-using-variable-DATE/m-p/2310771#M81869</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-23T13:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Download a file zip with using variable DATE</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Download-a-file-zip-with-using-variable-DATE/m-p/2310772#M81870</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOW6AAO"&gt;@mbocquet&lt;/A&gt;this is not very fairplay to accept your own answer instead of the one from the guy whom had help you&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jun 2018 13:44:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Download-a-file-zip-with-using-variable-DATE/m-p/2310772#M81870</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-06-23T13:44:50Z</dc:date>
    </item>
  </channel>
</rss>

