<?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 GetFTP when using tSampleRow in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/GetFTP-when-using-tSampleRow/m-p/2370155#M133234</link>
    <description>&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am quite new to talend so this might be a easy question!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The aim of my job is to retrieve files that have been added to the FTP server that day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am retrieving files from a FTP server each day.  The files arent removed from the FTP server after download so i have built a job to extract the date from the file name (the file name is name_type_data_sync_yyyymmdd.csv) the sort on month day.  I have used tsamplerow to get row 1. I have added tlogrow and when i run my job i get the the latest filename and filepath. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue i now have is i am not sure how i link this to ftpGet i have tried added the ftpGet component but get errors. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help appreciated &lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 23:39:16 GMT</pubDate>
    <dc:creator>JSlatorMHC</dc:creator>
    <dc:date>2024-11-15T23:39:16Z</dc:date>
    <item>
      <title>GetFTP when using tSampleRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/GetFTP-when-using-tSampleRow/m-p/2370155#M133234</link>
      <description>&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am quite new to talend so this might be a easy question!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The aim of my job is to retrieve files that have been added to the FTP server that day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am retrieving files from a FTP server each day.  The files arent removed from the FTP server after download so i have built a job to extract the date from the file name (the file name is name_type_data_sync_yyyymmdd.csv) the sort on month day.  I have used tsamplerow to get row 1. I have added tlogrow and when i run my job i get the the latest filename and filepath. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue i now have is i am not sure how i link this to ftpGet i have tried added the ftpGet component but get errors. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help appreciated &lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:39:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/GetFTP-when-using-tSampleRow/m-p/2370155#M133234</guid>
      <dc:creator>JSlatorMHC</dc:creator>
      <dc:date>2024-11-15T23:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: GetFTP when using tSampleRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/GetFTP-when-using-tSampleRow/m-p/2370156#M133235</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Store the file name to context variable for used later on tFTPGet, eg.&lt;/P&gt;&lt;P&gt;....tSammeRow--tJavaRow&lt;/P&gt;&lt;P&gt;|onsubjobok&lt;/P&gt;&lt;P&gt;tFTPGet&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;on tJavaRow:&lt;/P&gt;&lt;P&gt;context.filename=input_row.ColumnName;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 08:56:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/GetFTP-when-using-tSampleRow/m-p/2370156#M133235</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-15T08:56:06Z</dc:date>
    </item>
  </channel>
</rss>

