<?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: [resolved] tFileList -  returns multiple files with same names in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFileList-returns-multiple-files-with-same-names/m-p/2257548#M39612</link>
    <description>Hi,&lt;BR /&gt;I have resolved the issue myself.&amp;nbsp; I just coded the following string into the&amp;nbsp;"run if" properties to exclude the files I don't want from tFileList:&lt;BR /&gt;&lt;FONT size="2"&gt;!((String)globalMap.get("tFileList_1_CURRENT_FILEDIRECTORY").contains("test2") ||(String)globalMap.get("tFileList_1_CURRENT_FILEDIRECTORY").contains("test4"))&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Thanks,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Andy&lt;/FONT&gt;</description>
    <pubDate>Mon, 21 Mar 2016 21:06:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-03-21T21:06:01Z</dc:date>
    <item>
      <title>[resolved] tFileList -  returns multiple files with same names</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFileList-returns-multiple-files-with-same-names/m-p/2257542#M39606</link>
      <description>Hi,&lt;BR /&gt;I need some urgent helps with this situation here where I am using tFileList to pull files from a directory.&amp;nbsp; The files have same file names but under different sub-directories.&amp;nbsp; For example:&amp;nbsp; I&amp;nbsp;want to pull&amp;nbsp;"john_doe.txt", so I listed it in Filemask, and Directory is set as c:/ ,&amp;nbsp; but "john_doe.txt" exists in multiple directories, their file size is different:&lt;BR /&gt;c:\test1\john_doe.txt&lt;BR /&gt;c:\test2\john_doe.txt&lt;BR /&gt;How can I pull the file just under c:\test1 ?&amp;nbsp;&amp;nbsp; I have about 20 other&amp;nbsp;files with the similar situation.&lt;BR /&gt;Thanks&lt;BR /&gt;Andy</description>
      <pubDate>Tue, 08 Mar 2016 17:29:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFileList-returns-multiple-files-with-same-names/m-p/2257542#M39606</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-08T17:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFileList -  returns multiple files with same names</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFileList-returns-multiple-files-with-same-names/m-p/2257543#M39607</link>
      <description>Hi,&lt;BR /&gt;Have you tried to set Directory as c:\test1 to see if it can fetch your specified file?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 09 Mar 2016 07:06:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFileList-returns-multiple-files-with-same-names/m-p/2257543#M39607</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-09T07:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFileList -  returns multiple files with same names</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFileList-returns-multiple-files-with-same-names/m-p/2257544#M39608</link>
      <description>Sabrina,&lt;BR /&gt;If I set Directory as "c:/test1" and Filemask as "john_doe.txt", then&amp;nbsp;john_doe.txt will&amp;nbsp;be pulled&amp;nbsp;but not&amp;nbsp;from c:\test2.&amp;nbsp;&lt;BR /&gt;How can&amp;nbsp;I perfrom this if I have Filemask listed:&lt;BR /&gt;john_doe.txt&lt;BR /&gt;marry_jane.txt&lt;BR /&gt;mike_dee.txt&lt;BR /&gt;The directories in my local workstation for those files are:&lt;BR /&gt;c:/test1/john_doe.txt&lt;BR /&gt;c:/test2/john_doe.txt&lt;BR /&gt;c:/test3/marry_jane.txt&lt;BR /&gt;c:/test4/mary_jane.txt&lt;BR /&gt;c:/test5/mike_dee.txt&lt;BR /&gt;c:/test6/mike_dee.txt&lt;BR /&gt;I only want files from c:/test1, c:/test3, and c:/test5 since they are newer.&amp;nbsp; how do you set&amp;nbsp;up the directory path within tFileList to get those?&lt;BR /&gt;Thanks&lt;BR /&gt;-Andy</description>
      <pubDate>Wed, 09 Mar 2016 17:45:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFileList-returns-multiple-files-with-same-names/m-p/2257544#M39608</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-09T17:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFileList -  returns multiple files with same names</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFileList-returns-multiple-files-with-same-names/m-p/2257545#M39609</link>
      <description>Hi,&lt;BR /&gt;Can you please confirm if tFileList will fetch all files&amp;nbsp;specified&amp;nbsp;in "filemask" and under the "directory"&amp;nbsp;including&amp;nbsp;files with duplicate names?&lt;BR /&gt;If true, what alternatives do I have to eliminate the duplicates?&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 10 Mar 2016 19:39:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFileList-returns-multiple-files-with-same-names/m-p/2257545#M39609</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-10T19:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFileList -  returns multiple files with same names</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFileList-returns-multiple-files-with-same-names/m-p/2257546#M39610</link>
      <description>Can you use tFileProperties to identify the latest file.</description>
      <pubDate>Fri, 11 Mar 2016 09:36:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFileList-returns-multiple-files-with-same-names/m-p/2257546#M39610</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-11T09:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFileList -  returns multiple files with same names</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFileList-returns-multiple-files-with-same-names/m-p/2257547#M39611</link>
      <description>Not sure how can tFileProperties filter the files that I don't want to copy.&amp;nbsp; I had tried another idea using "run if" and connect to tFileCopy.&amp;nbsp; Under "if" properties,&amp;nbsp;I put the following:&lt;BR /&gt;&lt;FONT size="2"&gt;!((String)globalMap.get("tFileList_1_CURRENT_FILEDIRECTORY")).contains("test2") ||!((String)globalMap.get("tFileList_1_CURRENT_FILEDIRECTORY")).contains("test4")&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Obviously the codes didn't work.&amp;nbsp; It didn't exclude the files from test2 and test4 directories.&amp;nbsp; Can someone please provide the proper java codes to exclude when the directory path name not contains "test2" or not contains "test4" ?&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Thanks,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Andy&lt;/FONT&gt;</description>
      <pubDate>Wed, 16 Mar 2016 16:01:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFileList-returns-multiple-files-with-same-names/m-p/2257547#M39611</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-16T16:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFileList -  returns multiple files with same names</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFileList-returns-multiple-files-with-same-names/m-p/2257548#M39612</link>
      <description>Hi,&lt;BR /&gt;I have resolved the issue myself.&amp;nbsp; I just coded the following string into the&amp;nbsp;"run if" properties to exclude the files I don't want from tFileList:&lt;BR /&gt;&lt;FONT size="2"&gt;!((String)globalMap.get("tFileList_1_CURRENT_FILEDIRECTORY").contains("test2") ||(String)globalMap.get("tFileList_1_CURRENT_FILEDIRECTORY").contains("test4"))&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Thanks,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Andy&lt;/FONT&gt;</description>
      <pubDate>Mon, 21 Mar 2016 21:06:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFileList-returns-multiple-files-with-same-names/m-p/2257548#M39612</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-21T21:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFileList -  returns multiple files with same names</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFileList-returns-multiple-files-with-same-names/m-p/2257549#M39613</link>
      <description>Hi&amp;nbsp;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Andy,&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Thanks for your feedback and sharing your solution with us.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Could you please mark this topic as resolved?&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Wed, 23 Mar 2016 09:37:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFileList-returns-multiple-files-with-same-names/m-p/2257549#M39613</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-23T09:37:14Z</dc:date>
    </item>
  </channel>
</rss>

