<?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: Retrieve modification date of a file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Retrieve-modification-date-of-a-file/m-p/2283189#M57159</link>
    <description>&lt;P&gt;Great!&lt;/P&gt;&lt;P&gt;Thank's to mark your case as solved (as it is now).&lt;/P&gt;</description>
    <pubDate>Fri, 14 Sep 2018 10:24:11 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2018-09-14T10:24:11Z</dc:date>
    <item>
      <title>Retrieve modification date of a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieve-modification-date-of-a-file/m-p/2283182#M57152</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to retrieve modification date of a file inside an archived file.&lt;/P&gt;
&lt;P&gt;So first I put a tFileUnarchive component&lt;/P&gt;
&lt;P&gt;Then I've tried to get the using native variable but I' ve not found the correct variable name :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;((String)globalMap.get("tFileUnarchive_1_CURRENT_FILEDATE"))&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;((String)globalMap.get("tFileUnarchive_1_CURRENT_FILETIME"))&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Both don't work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've also tried a tFileProperties component to retrieve the mtime&amp;nbsp;column (and also the mtime_string column)&lt;/P&gt;
&lt;P&gt;But I dont' know how to put these values in a tMap component in order to write it in tFileOutputDelimited component (the goal is to create a csv file in output with the inside archive file modification time in it)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any idea ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thx&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:39:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieve-modification-date-of-a-file/m-p/2283182#M57152</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T07:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve modification date of a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieve-modification-date-of-a-file/m-p/2283183#M57153</link>
      <description>&lt;P&gt;Look at tFileProperties component for that&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 13:38:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieve-modification-date-of-a-file/m-p/2283183#M57153</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-09-13T13:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve modification date of a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieve-modification-date-of-a-file/m-p/2283184#M57154</link>
      <description>"I've also tried a tFileProperties component to retrieve the mtime column (and also the mtime_string column)
&lt;BR /&gt;
&lt;BR /&gt;But I dont' know how to put these values in a tMap component in order to write it in tFileOutputDelimited component (the goal is to create a csv file in output with the inside archive file modification time in it)"</description>
      <pubDate>Thu, 13 Sep 2018 15:02:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieve-modification-date-of-a-file/m-p/2283184#M57154</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-13T15:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve modification date of a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieve-modification-date-of-a-file/m-p/2283185#M57155</link>
      <description>&lt;P&gt;Just connect the tFileProperties component to the tMap then map the fields you want to&amp;nbsp;the output and finally, connect the tMap to the tFileOutputDelimited&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 15:27:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieve-modification-date-of-a-file/m-p/2283185#M57155</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-09-13T15:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve modification date of a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieve-modification-date-of-a-file/m-p/2283186#M57156</link>
      <description>&lt;P&gt;Did this help?&lt;/P&gt;&lt;P&gt;If so, thank's to mark this case as solved (Kudos also accepted).&lt;/P&gt;</description>
      <pubDate>Fri, 14 Sep 2018 08:46:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieve-modification-date-of-a-file/m-p/2283186#M57156</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-09-14T08:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve modification date of a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieve-modification-date-of-a-file/m-p/2283187#M57157</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Unfortunately it does not work&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So here is my job :&lt;/P&gt; 
&lt;P&gt;- tFileProperties component with provided working input filepath&lt;/P&gt; 
&lt;P&gt;- tMap component with links between input columns (abs_path, dirname, basename, mode_string, size, mtime and mtime_string) and output columns (same names)&lt;/P&gt; 
&lt;P&gt;- tFileOutputDelimited component with provided working output filepath (all other properties are set with default values)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;When I run the job, and output file is generated but it only contains semicolons (&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Sep 2018 10:07:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieve-modification-date-of-a-file/m-p/2283187#M57157</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-14T10:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve modification date of a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieve-modification-date-of-a-file/m-p/2283188#M57158</link>
      <description>&lt;P&gt;Ok it was a bug. I close the job. Then I add a tLogRow to see values and then relink with tFileOutputDelimited and now it works !&lt;/P&gt;&lt;P&gt;Thx !&lt;/P&gt;</description>
      <pubDate>Fri, 14 Sep 2018 10:16:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieve-modification-date-of-a-file/m-p/2283188#M57158</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-14T10:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve modification date of a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieve-modification-date-of-a-file/m-p/2283189#M57159</link>
      <description>&lt;P&gt;Great!&lt;/P&gt;&lt;P&gt;Thank's to mark your case as solved (as it is now).&lt;/P&gt;</description>
      <pubDate>Fri, 14 Sep 2018 10:24:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieve-modification-date-of-a-file/m-p/2283189#M57159</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-09-14T10:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve modification date of a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieve-modification-date-of-a-file/m-p/2283190#M57160</link>
      <description>&lt;P&gt; 
 &lt;STRIKE&gt; 
  &lt;A href="https://community.qlik.com/s/profile/0053p000007LOjLAAW"&gt;@nhalicka&lt;/A&gt;, not very fairplay to accept your solution when it has been given by someone else!!! 
 &lt;/STRIKE&gt;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOjLAAW"&gt;@nhalicka&lt;/A&gt;&amp;nbsp;thank's for the change &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Sep 2018 11:25:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieve-modification-date-of-a-file/m-p/2283190#M57160</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-09-14T11:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve modification date of a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieve-modification-date-of-a-file/m-p/2283191#M57161</link>
      <description>&lt;P&gt;Sorry, I thought I had selected your solution.&lt;/P&gt;&lt;P&gt;Is it ok now ?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Sep 2018 15:05:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieve-modification-date-of-a-file/m-p/2283191#M57161</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-14T15:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve modification date of a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieve-modification-date-of-a-file/m-p/2283192#M57162</link>
      <description>Yes, thank you</description>
      <pubDate>Fri, 14 Sep 2018 15:06:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieve-modification-date-of-a-file/m-p/2283192#M57162</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-09-14T15:06:57Z</dc:date>
    </item>
  </channel>
</rss>

