<?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: processing files with tFTP in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/processing-files-with-tFTP/m-p/2230740#M21274</link>
    <description>You need to add a tIterateToFlow between tFTPFileList and tSortRow, where you can create a flow containing the file names.&lt;BR /&gt;The numeric postcript for the component's unique name is irrelevant.</description>
    <pubDate>Thu, 09 Aug 2012 14:58:10 GMT</pubDate>
    <dc:creator>alevy</dc:creator>
    <dc:date>2012-08-09T14:58:10Z</dc:date>
    <item>
      <title>processing files with tFTP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/processing-files-with-tFTP/m-p/2230737#M21271</link>
      <description>I have a ftp site that I need to fetch files from on a weekly basis. the file name is of the form trYYYYMMDD.zip, where YYYYMMDD is the date of their data. they will keep old files out there for archive purposes, so how do I get the latest zip file? I have a tFTPConnection to a tFTPFileList to a tFTPGet that works fine if I hard code the name, but i cant find anything to get the latest file. so can anyone help? (i am just learning java also)</description>
      <pubDate>Wed, 08 Aug 2012 15:09:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/processing-files-with-tFTP/m-p/2230737#M21271</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-08-08T15:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: processing files with tFTP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/processing-files-with-tFTP/m-p/2230738#M21272</link>
      <description>Hi,
&lt;BR /&gt;What I would do is the following:
&lt;BR /&gt;1. Get all your filenames
&lt;BR /&gt;2. Sort them by using tSortRow (sort descending, so the last file is the first row)
&lt;BR /&gt;3. tSamplerow: Only keep the first row, by setting the range to 1. ( so you only keep the last filename, which you can then use to get the file)
&lt;BR /&gt;4. Read the file 
&lt;BR /&gt;Regards</description>
      <pubDate>Wed, 08 Aug 2012 15:39:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/processing-files-with-tFTP/m-p/2230738#M21272</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-08T15:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: processing files with tFTP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/processing-files-with-tFTP/m-p/2230739#M21273</link>
      <description>Thanks for the suggestion. I tried adding this (tFTPCOnnection -&amp;gt; tFTPFileList -&amp;gt; tSortRow -&amp;gt; tSampleRow -&amp;gt; tFTPGet). TFTPFileList will only iterate to the tSort and I do not have a "sync columns" in my tSortRow as the doc alleges, also tSort is a "_4" where all other components are "_1" if this means anything. 
&lt;BR /&gt;It wont compile; tSample Row has multiple errors: "IterateStruct cannot be resolved to a type" multiple times and "filename cannot be resolved or is not a field" multiple times and a warning for the tSort "this component should have input link(s)". the filename issue i think is the tSort, where i set a column called filename to sort since I had no "sync columns" to connect to the previous.
&lt;BR /&gt;I think I need something between the tFTPFileList and the tSortRow</description>
      <pubDate>Wed, 08 Aug 2012 17:12:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/processing-files-with-tFTP/m-p/2230739#M21273</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-08-08T17:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: processing files with tFTP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/processing-files-with-tFTP/m-p/2230740#M21274</link>
      <description>You need to add a tIterateToFlow between tFTPFileList and tSortRow, where you can create a flow containing the file names.&lt;BR /&gt;The numeric postcript for the component's unique name is irrelevant.</description>
      <pubDate>Thu, 09 Aug 2012 14:58:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/processing-files-with-tFTP/m-p/2230740#M21274</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2012-08-09T14:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: processing files with tFTP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/processing-files-with-tFTP/m-p/2230741#M21275</link>
      <description>mpa and alevy thank you both. It now works exactly as I need it too. you have helped and taught me a lot. Now I can continue on with the rest of the processing. Again, thanks for the help.</description>
      <pubDate>Thu, 09 Aug 2012 16:11:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/processing-files-with-tFTP/m-p/2230741#M21275</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-08-09T16:11:52Z</dc:date>
    </item>
  </channel>
</rss>

