<?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: Replace a file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Replace-a-file/m-p/2227863#M19318</link>
    <description>Why don't you use tFileCopy for that?</description>
    <pubDate>Mon, 27 Apr 2020 20:20:51 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2020-04-27T20:20:51Z</dc:date>
    <item>
      <title>Replace a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Replace-a-file/m-p/2227862#M19317</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;I have a tHDFSExist and if the file already exists there is a tjava which does this code:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;Files.move(Paths.get(context.path_file + "/" + ((String)globalMap.get("tWaitForFile_1_FILENAME"))), Paths.get(context.main_path + "/Exists/country/"+((String)globalMap.get("tWaitForFile_1_FILENAME"))));&lt;/PRE&gt; 
&lt;P&gt;I want not only to move the file but to replace it if there is the same. I used REPLACED_EXISTING but nothing happens.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 11:32:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Replace-a-file/m-p/2227862#M19317</guid>
      <dc:creator>DrGenious</dc:creator>
      <dc:date>2020-04-27T11:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Replace a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Replace-a-file/m-p/2227863#M19318</link>
      <description>Why don't you use tFileCopy for that?</description>
      <pubDate>Mon, 27 Apr 2020 20:20:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Replace-a-file/m-p/2227863#M19318</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2020-04-27T20:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Replace a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Replace-a-file/m-p/2227864#M19319</link>
      <description>&lt;P&gt;I haven't think of that. I prefer to use java code on my pipelines.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 14:20:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Replace-a-file/m-p/2227864#M19319</guid>
      <dc:creator>DrGenious</dc:creator>
      <dc:date>2020-04-28T14:20:36Z</dc:date>
    </item>
  </channel>
</rss>

