<?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: GET the last file from Remote directory ftp in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/GET-the-last-file-from-Remote-directory-ftp/m-p/2280996#M55669</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/005390000067LRbAAM"&gt;@vapukov&lt;/A&gt;, I used the same for my job that has to fetch files from ftp server. The job works but doesn't get any files on to local directory despite them being on ftp. The date format on ftp is dd/MM/yyyy HH:mm:ss. Could that be the reason?&lt;/P&gt;</description>
    <pubDate>Tue, 11 Sep 2018 09:45:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-09-11T09:45:25Z</dc:date>
    <item>
      <title>GET the last file from Remote directory ftp</title>
      <link>https://community.qlik.com/t5/Talend-Studio/GET-the-last-file-from-Remote-directory-ftp/m-p/2280990#M55663</link>
      <description>&lt;DIV class="lia-quilt-row lia-quilt-row-main"&gt;
 &lt;DIV class="lia-quilt-column lia-quilt-column-18 lia-quilt-column-left lia-quilt-column-main-left"&gt;
  &lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-left"&gt;
   &lt;DIV class="lia-message-subject lia-component-message-view-widget-subject"&gt;
    &lt;DIV class="MessageSubject"&gt;
     &lt;DIV class="MessageSubjectIcons "&gt;
      &lt;DIV class="lia-message-subject"&gt;
       &amp;nbsp;
      &lt;/DIV&gt;
     &lt;/DIV&gt;
    &lt;/DIV&gt;
   &lt;/DIV&gt;
   &lt;DIV class="lia-message-body lia-component-body-signature-highlight-escalation"&gt;
    &lt;DIV class="lia-message-body-content"&gt;
     &lt;P&gt;Hello Community ,&lt;/P&gt;
     &lt;P&gt;&amp;nbsp;&lt;/P&gt;
     &lt;P&gt;I need help plaiiiise&lt;/P&gt;
     &lt;P&gt;&amp;nbsp;&lt;/P&gt;
     &lt;P&gt;I wanna get all the recent file from a remote directory FTP&amp;nbsp; to my local ,then delete this file from local after appload them to my Mysql Database:&lt;/P&gt;
     &lt;P&gt;&amp;nbsp;&lt;/P&gt;
     &lt;P&gt;the remote directory contain a CSV file withe the name like 20170515_Contact.csv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (2017:year,05 month, 15 day)&lt;/P&gt;
     &lt;P&gt;every day there is the new files.&lt;/P&gt;
     &lt;P&gt;&amp;nbsp;&lt;/P&gt;
     &lt;P&gt;i wanna just get the file of the recent day.&lt;/P&gt;
     &lt;P&gt;&amp;nbsp;&lt;/P&gt;
     &lt;P&gt;this is my job : tftpconnection--&amp;gt;tftlistfile--&amp;gt;tftpget--tfileinputDelimeted--&amp;gt;tlogrow--&amp;gt;tmap---&amp;gt;mysqloutput&lt;/P&gt;
     &lt;P&gt;&amp;nbsp;&lt;/P&gt;
     &lt;P&gt;&amp;nbsp;&lt;/P&gt;
     &lt;P&gt;help me to configure all this component in order to get just the recent file&amp;nbsp; to my local directory then delete them after having all the date at mysql&lt;/P&gt;
     &lt;P&gt;thank youuuuuuuuuuuuuuu&lt;/P&gt;
    &lt;/DIV&gt;
   &lt;/DIV&gt;
  &lt;/DIV&gt;
 &lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:46:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/GET-the-last-file-from-Remote-directory-ftp/m-p/2280990#M55663</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: GET the last file from Remote directory ftp</title>
      <link>https://community.qlik.com/t5/Talend-Studio/GET-the-last-file-from-Remote-directory-ftp/m-p/2280991#M55664</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;tFTPConnection--&amp;gt;tFTPGet--tFileInput&lt;/SPAN&gt;&lt;SPAN&gt;Delimited--&amp;gt;tLogTow--&amp;gt;tMap---&amp;gt;tMysqlOutput (no tFTPFileList component).&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;To get the file for the current day from your FTP server, add a filemask with the following syntax:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;PRE&gt;TalendDate.formatDate("yyyyMMddHH",TalendDate.getCurrentDate()) + "_Contact.csv"&lt;/PRE&gt; 
&lt;P&gt;&lt;SPAN&gt;The component should look like this:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ltji.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140262i040708811740C51F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ltji.png" alt="0683p000009Ltji.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;If necessary, define the local directory according to the place where you want to get the file with the&amp;nbsp;tFileInputDelimited.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2017 21:48:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/GET-the-last-file-from-Remote-directory-ftp/m-p/2280991#M55664</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-05-15T21:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: GET the last file from Remote directory ftp</title>
      <link>https://community.qlik.com/t5/Talend-Studio/GET-the-last-file-from-Remote-directory-ftp/m-p/2280992#M55665</link>
      <description>&lt;P&gt;This is not really most resent file, as example most resent mean - You have 3 backup from same day, but need take latest&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but Your tasks could be achieved with simple name patterns:&lt;/P&gt;
&lt;P&gt;For yesterday:&lt;/P&gt;
&lt;PRE&gt;TalendDate.formatDate("yyyyMMdd",TalendDate.addDate(TalendDate.getCurrentDate() ,-1,"dd")) +"*.csv"&lt;BR /&gt;or &lt;/PRE&gt;
&lt;PRE&gt;TalendDate.formatDate("yyyyMMdd",TalendDate.addDate(TalendDate.getCurrentDate() ,-1,"dd")) +"_Contact.csv"&lt;/PRE&gt;
&lt;P&gt;For today:&lt;/P&gt;
&lt;PRE&gt;TalendDate.formatDate("yyyyMMdd",TalendDate.getCurrentDate()) +"*.csv"&lt;BR /&gt;or&lt;/PRE&gt;
&lt;PRE&gt;TalendDate.formatDate("yyyyMMdd",TalendDate.getCurrentDate()) +"_Contact.csv"&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;use this pattern for tFTPFileList&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 00:26:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/GET-the-last-file-from-Remote-directory-ftp/m-p/2280992#M55665</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2017-05-16T00:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: GET the last file from Remote directory ftp</title>
      <link>https://community.qlik.com/t5/Talend-Studio/GET-the-last-file-from-Remote-directory-ftp/m-p/2280993#M55666</link>
      <description>&lt;P&gt;Thank you very much&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 08:46:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/GET-the-last-file-from-Remote-directory-ftp/m-p/2280993#M55666</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-16T08:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: GET the last file from Remote directory ftp</title>
      <link>https://community.qlik.com/t5/Talend-Studio/GET-the-last-file-from-Remote-directory-ftp/m-p/2280994#M55667</link>
      <description>Thank you</description>
      <pubDate>Tue, 16 May 2017 08:46:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/GET-the-last-file-from-Remote-directory-ftp/m-p/2280994#M55667</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-16T08:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: GET the last file from Remote directory ftp</title>
      <link>https://community.qlik.com/t5/Talend-Studio/GET-the-last-file-from-Remote-directory-ftp/m-p/2280995#M55668</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLx2AAG"&gt;@informatiste&lt;/A&gt;&amp;nbsp;thank's to mark your case as solved (Kudos also accepted)&lt;/P&gt;</description>
      <pubDate>Fri, 25 May 2018 11:09:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/GET-the-last-file-from-Remote-directory-ftp/m-p/2280995#M55668</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-05-25T11:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: GET the last file from Remote directory ftp</title>
      <link>https://community.qlik.com/t5/Talend-Studio/GET-the-last-file-from-Remote-directory-ftp/m-p/2280996#M55669</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/005390000067LRbAAM"&gt;@vapukov&lt;/A&gt;, I used the same for my job that has to fetch files from ftp server. The job works but doesn't get any files on to local directory despite them being on ftp. The date format on ftp is dd/MM/yyyy HH:mm:ss. Could that be the reason?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 09:45:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/GET-the-last-file-from-Remote-directory-ftp/m-p/2280996#M55669</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-11T09:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: GET the last file from Remote directory ftp</title>
      <link>https://community.qlik.com/t5/Talend-Studio/GET-the-last-file-from-Remote-directory-ftp/m-p/2280997#M55670</link>
      <description>&lt;P&gt;&lt;FONT color="#3366FF"&gt;&lt;U&gt;down vote The answer is that you probably can't do this using just wget or any other single tool that I am aware of. What you probably need to do is write a script that will use wget/curl/whatever that will request a directory listing from the ftp server. Then the script will select and retrieve the right file based on the file's name, or some other criteria&lt;/U&gt;&lt;/FONT&gt; &lt;A href="https://cleanmaster.me/" target="_self" rel="nofollow noopener noreferrer"&gt;Clean Master&lt;/A&gt; &lt;A href="https://facebooklite.vip/" target="_self" rel="nofollow noopener noreferrer"&gt;Facebook Lite&lt;/A&gt;&amp;nbsp; &lt;A href="https://mathway.vip/" target="_self" rel="nofollow noopener noreferrer"&gt;Mathway&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Sep 2018 12:45:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/GET-the-last-file-from-Remote-directory-ftp/m-p/2280997#M55670</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-24T12:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: GET the last file from Remote directory ftp</title>
      <link>https://community.qlik.com/t5/Talend-Studio/GET-the-last-file-from-Remote-directory-ftp/m-p/2280998#M55671</link>
      <description>&lt;P&gt;GET the last document from Remote registry ftp...&lt;/P&gt;
&lt;P&gt;Thanks for this help.It guided me a lot......&lt;A href="https://whereaminow.co/what-county-am-i-in/" target="_self" rel="nofollow noopener noreferrer"&gt;whereaminw&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2020 12:21:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/GET-the-last-file-from-Remote-directory-ftp/m-p/2280998#M55671</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-01T12:21:25Z</dc:date>
    </item>
  </channel>
</rss>

