<?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: Compare local to remote file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Compare-local-to-remote-file/m-p/2268272#M46905</link>
    <description>hi&lt;BR /&gt;try tFileCompare &lt;BR /&gt;regards&lt;BR /&gt;laurent</description>
    <pubDate>Thu, 20 Sep 2012 16:08:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-09-20T16:08:28Z</dc:date>
    <item>
      <title>Compare local to remote file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Compare-local-to-remote-file/m-p/2268271#M46904</link>
      <description>Hi, 
&lt;BR /&gt;I connect via FTP and want to process all files that are in a specific folder. All files will have distinctive names -&amp;gt; no duplicates. After the processing is done, I'd like to delete the remote files. 
&lt;BR /&gt;To get this done, I'd like to compare the MD5 of a local XML-file to the MD5 of a remote XML-file that I access via FTP. If equal, I'd like to delete the remote file. This is to make sure that no remote file gets deleted that hasn't been copied and processed. 
&lt;BR /&gt;Job layout: 
&lt;BR /&gt;tFTPConnection -OnSubJobOK-&amp;gt; tFTPFileList -Iterate-&amp;gt; tFTPFileProperties -Iterate-&amp;gt; tFTPGet -OnSubJobOK-&amp;gt; Process Files -OnSubJobOK-&amp;gt; tFileList (local storage) -Iterate-&amp;gt; tFileCopy (move to other local folder) 
&lt;BR /&gt;My idea was to get the remote files' MD5 from the tFTPFileProperties, put them into a HashOutput, and later compare them to the local files MD5. 
&lt;BR /&gt;But I am stuck because I can't figure out how to make the comparison. 
&lt;BR /&gt;Any help is appreciated! Thank you!</description>
      <pubDate>Thu, 20 Sep 2012 15:00:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Compare-local-to-remote-file/m-p/2268271#M46904</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-09-20T15:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: Compare local to remote file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Compare-local-to-remote-file/m-p/2268272#M46905</link>
      <description>hi&lt;BR /&gt;try tFileCompare &lt;BR /&gt;regards&lt;BR /&gt;laurent</description>
      <pubDate>Thu, 20 Sep 2012 16:08:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Compare-local-to-remote-file/m-p/2268272#M46905</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-20T16:08:28Z</dc:date>
    </item>
  </channel>
</rss>

