<?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: tFileCopy not deleting file source in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-not-deleting-file-source/m-p/2310883#M142290</link>
    <description>&lt;P&gt;Hi @antoine menardie​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since you're sure the problem is not directory rights and the "Fail on error" option is already checked on tFileCopy, I suggest you run the Job with Log4j at DEBUG level.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps the log you tell the reason why the component is not deleting the source file.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jul 2023 13:22:43 GMT</pubDate>
    <dc:creator>anselmopeixoto</dc:creator>
    <dc:date>2023-07-21T13:22:43Z</dc:date>
    <item>
      <title>tFileCopy not deleting file source</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-not-deleting-file-source/m-p/2310882#M142289</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an issue with the tFileCopy component in several of my jobs. I am using this component after creating an xml file where all the processed data is stored.&lt;/P&gt;&lt;P&gt;I need to delete the file source and make a copy into 2 other directories, which are :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-directory "processed" when the tAdvancedFileOutputXML is ok&lt;/P&gt;&lt;P&gt;-directory "error" when the component is not&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are a few screenshots to illustrate what i want, and what i did :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000lvM5FAAU.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148093i79E607321C64E814/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000lvM5FAAU.png" alt="0695b00000lvM5FAAU.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000lvM5KAAU.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150185iCF29A565A11B468A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000lvM5KAAU.png" alt="0695b00000lvM5KAAU.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000lvM5PAAU.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132090iD7436D0509D147ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000lvM5PAAU.png" alt="0695b00000lvM5PAAU.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The last two screenshots show that i checked "delete file source", "create directory if doesn't exist", "Replace existing file".&lt;/P&gt;&lt;P&gt;The problem is that, locally when i start the job in Talend Open Studio, it's working fine, the xml file is created and the source file is deleted (with a copy created in the right directory).&lt;/P&gt;&lt;P&gt;But then when I export the job and install it on a server, starting it and processing a file, the job is working but the the file is not deleted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It can't be a directory rights issue because we already have other jobs which are working fine on this server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have some ideas on what could be the problem here ?&lt;/P&gt;&lt;P&gt;If you want more details, i'd be glad to give it to you.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:33:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-not-deleting-file-source/m-p/2310882#M142289</guid>
      <dc:creator>amenardie</dc:creator>
      <dc:date>2024-11-15T21:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: tFileCopy not deleting file source</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-not-deleting-file-source/m-p/2310883#M142290</link>
      <description>&lt;P&gt;Hi @antoine menardie​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since you're sure the problem is not directory rights and the "Fail on error" option is already checked on tFileCopy, I suggest you run the Job with Log4j at DEBUG level.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps the log you tell the reason why the component is not deleting the source file.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 13:22:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-not-deleting-file-source/m-p/2310883#M142290</guid>
      <dc:creator>anselmopeixoto</dc:creator>
      <dc:date>2023-07-21T13:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: tFileCopy not deleting file source</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-not-deleting-file-source/m-p/2310884#M142291</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;For testing only, could you have a try to remove the file using tFileDelete instead of using 'remove the resource file' option on tFileCopy in next subjob, to check the user on your server who launch studio has the right to delete the file. &lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 04:04:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-not-deleting-file-source/m-p/2310884#M142291</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-24T04:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: tFileCopy not deleting file source</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-not-deleting-file-source/m-p/2310885#M142292</link>
      <description>&lt;P&gt;Hello @Anselmo Peixoto​,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to configure Log4j in this talend job but it is not working and I don't really know why as i tried to configure it on the other jobs which are running fine and it worked.&lt;/P&gt;&lt;P&gt;It seems like it stopped at the file reading.&lt;/P&gt;&lt;P&gt;I activated log4j for this job, and ran it in debug level.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000lw6uOAAQ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145111i65B92E275D6EC51E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000lw6uOAAQ.png" alt="0695b00000lw6uOAAQ.png" /&gt;&lt;/span&gt;Here is my log4j template : &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000lw6v2AAA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154164i40008A591FE8B206/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000lw6v2AAA.png" alt="0695b00000lw6v2AAA.png" /&gt;&lt;/span&gt;I attached to this message the log file generated by log4j.&lt;/P&gt;&lt;P&gt;Do you have any idea what could be the problem ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;@Xiaodi Shi​&amp;nbsp;thank you for your help. I tried the tFileDelete component but the file source isn't deleted.&lt;/P&gt;&lt;P&gt;I checked the rights for users on the directory, and it is the same as the others.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 13:22:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-not-deleting-file-source/m-p/2310885#M142292</guid>
      <dc:creator>amenardie</dc:creator>
      <dc:date>2023-07-26T13:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: tFileCopy not deleting file source</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-not-deleting-file-source/m-p/2310886#M142293</link>
      <description>&lt;P&gt;Hi @antoine menardie​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe the ThresholdFilter level="info" on your log4j template has restricted the messages on the log to INFO level only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try changing this property to get DEBUG level messages on the log.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 18:03:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-not-deleting-file-source/m-p/2310886#M142293</guid>
      <dc:creator>anselmopeixoto</dc:creator>
      <dc:date>2023-07-26T18:03:26Z</dc:date>
    </item>
  </channel>
</rss>

