<?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: Building and Using Variables For tFTPPut Filemask in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Building-and-Using-Variables-For-tFTPPut-Filemask/m-p/2364523#M128256</link>
    <description>I'm not exactly sure how to present this to you so if there is a better way than what I have done, just say so. 
&lt;BR /&gt;It's a very simple script ... 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/373354/Screenshot1.png.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAtX.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143141i62711B1E3C9B042F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAtX.png" alt="0683p000009MAtX.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt;The tSystem_1 executes a VBS script developed by a supplier to extract data from their SaaS system. 
&lt;BR /&gt;&amp;nbsp; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/373354/Screenshot2.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAtc.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143878iB73BD6DF5B9FF281/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAtc.png" alt="0683p000009MAtc.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt;tFTPPut_1 uses sFTP to send that file to a vendor. 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/373354/Screenshot3.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAr3.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145711i88E6FC5E0A3792C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAr3.png" alt="0683p000009MAr3.png" /&gt;&lt;/span&gt; &lt;/A&gt;&amp;nbsp; 
&lt;BR /&gt;You will notice in the 'Filemask' that the file name has an embedded data. Somehow, I need to use use yesterday's date to build that YYMMDD string (160629 in the screenshot supplied) and then use that string to build the filename (Delta-834.160629) to be used in the filemask.</description>
    <pubDate>Thu, 30 Jun 2016 18:55:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-06-30T18:55:50Z</dc:date>
    <item>
      <title>Building and Using Variables For tFTPPut Filemask</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Building-and-Using-Variables-For-tFTPPut-Filemask/m-p/2364521#M128254</link>
      <description>I'm very new to Talend. I've written a couple very useful scripts at this point. However, I need to get a bit more advanced and was hoping someone could point me in the direction of the documentations / examples to read in order to accomplish it. 
&lt;BR /&gt;I writing a script using tFTPPut to sFTP a file from my local system to a vendor. I have it working with a specified file for the filemask. Unfortunately, the vendor requires this file to have a name with the date embedded. So, the file name will be different every time the file needs to be sent. 
&lt;BR /&gt;I can program. Since it's based on the date, this is a programmatic issue. My first two questions are, then ... 
&lt;BR /&gt; 
&lt;BR /&gt;Where do I do my programming to build the date string I need and ... 
&lt;BR /&gt;How do I use that variable in the filemask portion of the tFTPPut action. 
&lt;BR /&gt;Like I said, I'm hoping someone can jump start me by pointing to some appropriate reading material. I'm perfectly capable of figuring it out, I just need to get pointed down the right road, first. 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Quintin</description>
      <pubDate>Wed, 29 Jun 2016 22:38:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Building-and-Using-Variables-For-tFTPPut-Filemask/m-p/2364521#M128254</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-29T22:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Building and Using Variables For tFTPPut Filemask</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Building-and-Using-Variables-For-tFTPPut-Filemask/m-p/2364522#M128255</link>
      <description>Hi&amp;nbsp;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Quintin&lt;/FONT&gt;&lt;/FONT&gt;,&lt;BR /&gt;What does your script look like?&lt;BR /&gt;For your use case, would you mind setting an example for us?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Thu, 30 Jun 2016 08:51:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Building-and-Using-Variables-For-tFTPPut-Filemask/m-p/2364522#M128255</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-30T08:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Building and Using Variables For tFTPPut Filemask</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Building-and-Using-Variables-For-tFTPPut-Filemask/m-p/2364523#M128256</link>
      <description>I'm not exactly sure how to present this to you so if there is a better way than what I have done, just say so. 
&lt;BR /&gt;It's a very simple script ... 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/373354/Screenshot1.png.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAtX.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143141i62711B1E3C9B042F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAtX.png" alt="0683p000009MAtX.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt;The tSystem_1 executes a VBS script developed by a supplier to extract data from their SaaS system. 
&lt;BR /&gt;&amp;nbsp; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/373354/Screenshot2.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAtc.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143878iB73BD6DF5B9FF281/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAtc.png" alt="0683p000009MAtc.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt;tFTPPut_1 uses sFTP to send that file to a vendor. 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/373354/Screenshot3.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAr3.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145711i88E6FC5E0A3792C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAr3.png" alt="0683p000009MAr3.png" /&gt;&lt;/span&gt; &lt;/A&gt;&amp;nbsp; 
&lt;BR /&gt;You will notice in the 'Filemask' that the file name has an embedded data. Somehow, I need to use use yesterday's date to build that YYMMDD string (160629 in the screenshot supplied) and then use that string to build the filename (Delta-834.160629) to be used in the filemask.</description>
      <pubDate>Thu, 30 Jun 2016 18:55:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Building-and-Using-Variables-For-tFTPPut-Filemask/m-p/2364523#M128256</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-30T18:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Building and Using Variables For tFTPPut Filemask</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Building-and-Using-Variables-For-tFTPPut-Filemask/m-p/2364524#M128257</link>
      <description>I found this tutorial on how to pass a parameter through a context variable.
&lt;BR /&gt;
&lt;A href="http://talend-etl-tutorials.blogspot.com/2013/12/talend-begineers-qucik-understanding-of.html" target="_blank" rel="nofollow noopener noreferrer"&gt;http://talend-etl-tutorials.blogspot.com/2013/12/talend-begineers-qucik-understanding-of.html&lt;/A&gt;
&lt;BR /&gt;Applying that information would mean instead of coding my file name string within Talend, I could code it outside and pass that string to the (super basic) job that just performed the sFTP operation.
&lt;BR /&gt;Would that be the best methodology to tackle this with?</description>
      <pubDate>Thu, 30 Jun 2016 18:57:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Building-and-Using-Variables-For-tFTPPut-Filemask/m-p/2364524#M128257</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-30T18:57:21Z</dc:date>
    </item>
  </channel>
</rss>

