<?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: How to delete files in a tFileList iteration? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-delete-files-in-a-tFileList-iteration/m-p/2197337#M1122</link>
    <description>Hi,&lt;BR /&gt;onComponentOk should be the right connection.&lt;BR /&gt;Bye&lt;BR /&gt;Volker</description>
    <pubDate>Thu, 12 Mar 2009 20:34:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-03-12T20:34:08Z</dc:date>
    <item>
      <title>How to delete files in a tFileList iteration?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-delete-files-in-a-tFileList-iteration/m-p/2197334#M1119</link>
      <description>Hi
&lt;BR /&gt;I have a scenario which must be very common.
&lt;BR /&gt;I have a staging directory which I will automatically monitor for files.
&lt;BR /&gt;When files are found (1 or more), I want to iterate through the found files, do some processing, and then move the processed file.
&lt;BR /&gt;I am using a tFileList for the iteration.
&lt;BR /&gt;My problem is that it seems impossible to do any operation that affects 
&lt;BR /&gt;the current file (tFileDelete or tFileCopy with "Remove source File" checked).
&lt;BR /&gt;I get no errors, but the file is simply not deleted.
&lt;BR /&gt;
&lt;BR /&gt;What is the best practice to remove processed files from the staging directory?
&lt;BR /&gt;
&lt;BR /&gt;My env is TIS 2.4.1.r16077, I'm working in a Java project
&lt;BR /&gt;Any advice appreciated</description>
      <pubDate>Sat, 16 Nov 2024 14:07:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-delete-files-in-a-tFileList-iteration/m-p/2197334#M1119</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete files in a tFileList iteration?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-delete-files-in-a-tFileList-iteration/m-p/2197335#M1120</link>
      <description>Hello 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;the current file (tFileDelete or tFileCopy with "Remove source File" checked).&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;tFileList--iterate--&amp;gt;tFileDelete 
&lt;BR /&gt;In the file name field, press ctrl+blank space, then select the global variable: tFileList_current_file_path 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Fri, 12 Dec 2008 09:32:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-delete-files-in-a-tFileList-iteration/m-p/2197335#M1120</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-12-12T09:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete files in a tFileList iteration?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-delete-files-in-a-tFileList-iteration/m-p/2197336#M1121</link>
      <description>Hi shong, 
&lt;BR /&gt;if after deletion i needed to do something without exiting from current iteration of tFileList, should it be possible to connect tFileDelete to a tRunJob? 
&lt;BR /&gt;I have tried whith a "main" connection, but it says "if this component has output, ther emust be an input link to propagate the data". 
&lt;BR /&gt;Which is silly , because i do not have any output. 
&lt;BR /&gt;What should i do?</description>
      <pubDate>Thu, 12 Mar 2009 10:50:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-delete-files-in-a-tFileList-iteration/m-p/2197336#M1121</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-03-12T10:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete files in a tFileList iteration?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-delete-files-in-a-tFileList-iteration/m-p/2197337#M1122</link>
      <description>Hi,&lt;BR /&gt;onComponentOk should be the right connection.&lt;BR /&gt;Bye&lt;BR /&gt;Volker</description>
      <pubDate>Thu, 12 Mar 2009 20:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-delete-files-in-a-tFileList-iteration/m-p/2197337#M1122</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-03-12T20:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete files in a tFileList iteration?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-delete-files-in-a-tFileList-iteration/m-p/2197338#M1123</link>
      <description>But,  OnComponentOk is it still into the current TFileList iteration?&lt;BR /&gt;Does tFileList iteration wait for the subjob to be ended, if it is linked only with a onComponentOk ?</description>
      <pubDate>Fri, 13 Mar 2009 09:35:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-delete-files-in-a-tFileList-iteration/m-p/2197338#M1123</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-03-13T09:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete files in a tFileList iteration?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-delete-files-in-a-tFileList-iteration/m-p/2197339#M1124</link>
      <description>Hi,&lt;BR /&gt;i thought about doing a branch. So you data flow (main) will go wherever it will be needed and onComponentOk will go to tFileDelete. &lt;BR /&gt;Will tFileDelete wait for tRunJob? Good question. I think onComponentOk is triggered after all actions of the components are done. And the last one is done at the end of the iteration. So it will wait for tRunJob.&lt;BR /&gt;Please correct me if I'm wrong.&lt;BR /&gt;Bye&lt;BR /&gt;Volker</description>
      <pubDate>Fri, 13 Mar 2009 10:56:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-delete-files-in-a-tFileList-iteration/m-p/2197339#M1124</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-03-13T10:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete files in a tFileList iteration?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-delete-files-in-a-tFileList-iteration/m-p/2197340#M1125</link>
      <description>Hello,&lt;BR /&gt;I'm also running into the same issue with tFileDelete NOT deleting while no error returned.&lt;BR /&gt;Here's my flow, not sure if the order of the flow might be causing it not to Delete?  &lt;BR /&gt;&lt;BR /&gt;tFileList (iterate) --&amp;gt; tFileInputDelimited --&amp;gt; tMSSQLOutput --&amp;gt; tFileCopy --&amp;gt; tFileDelete (not deleting)&lt;BR /&gt;I can delete with a separate branch, but not sure why my flow above wouldn't delete?  Any idea?&lt;BR /&gt;&lt;BR /&gt;tFileList (iterate) --&amp;gt; tFileInputDelimited --&amp;gt; tMSSQLOutput --&amp;gt; tFileCopy&lt;BR /&gt;tFileList2 (iterate) --&amp;gt; tFileDelete2 (deleting)&lt;BR /&gt;However, if I use two separate branch, what do I need to do to call the second tFileList when the the first tFileList iteration actions are complete?&lt;BR /&gt;Your help is much appreciated!</description>
      <pubDate>Tue, 17 Nov 2009 21:35:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-delete-files-in-a-tFileList-iteration/m-p/2197340#M1125</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2009-11-17T21:35:22Z</dc:date>
    </item>
  </channel>
</rss>

