<?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 How to wait for file on a ftp server? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-wait-for-file-on-a-ftp-server/m-p/2228163#M19522</link>
    <description>Hi,
&lt;BR /&gt;Everyday, I get some files on a ftp directory.
&lt;BR /&gt;I never know the name or the number of those files (just the location and the files extension (*.csv or *.xml).
&lt;BR /&gt;But sometimes, thoses files are late.... very late and all of the process runs with only one or two files instead of 10 or 15....
&lt;BR /&gt;I will ask to receive with those files a file with the same name (for example : end_of_transfert.csv). 
&lt;BR /&gt;So I need to wait for its incoming before all of the process begins...
&lt;BR /&gt;I can put a TWaitForFile
&lt;BR /&gt;I can do that on a directory with a TWaitForFile.
&lt;BR /&gt;But how can I do that with FTP???
&lt;BR /&gt;Thanks for your help,</description>
    <pubDate>Sat, 16 Nov 2024 14:19:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T14:19:08Z</dc:date>
    <item>
      <title>How to wait for file on a ftp server?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-wait-for-file-on-a-ftp-server/m-p/2228163#M19522</link>
      <description>Hi,
&lt;BR /&gt;Everyday, I get some files on a ftp directory.
&lt;BR /&gt;I never know the name or the number of those files (just the location and the files extension (*.csv or *.xml).
&lt;BR /&gt;But sometimes, thoses files are late.... very late and all of the process runs with only one or two files instead of 10 or 15....
&lt;BR /&gt;I will ask to receive with those files a file with the same name (for example : end_of_transfert.csv). 
&lt;BR /&gt;So I need to wait for its incoming before all of the process begins...
&lt;BR /&gt;I can put a TWaitForFile
&lt;BR /&gt;I can do that on a directory with a TWaitForFile.
&lt;BR /&gt;But how can I do that with FTP???
&lt;BR /&gt;Thanks for your help,</description>
      <pubDate>Sat, 16 Nov 2024 14:19:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-wait-for-file-on-a-ftp-server/m-p/2228163#M19522</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to wait for file on a ftp server?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-wait-for-file-on-a-ftp-server/m-p/2228164#M19523</link>
      <description>Hello, 
&lt;BR /&gt;You can do like this (see the image) 
&lt;BR /&gt;with this parameters : 
&lt;BR /&gt;tInfiniteLoop_1 : set "wait at each iteration" at 60 for example if you want to check the files every minute. 
&lt;BR /&gt;tFTPGet_1 : set Filemask at "end_of_transfert.csv" 
&lt;BR /&gt;set If link : ((Integer)globalMap.get("tFTPGet_1_NB_FILE")).equals(1) 
&lt;BR /&gt;tFTPGet_2 : set the files extension you need (*.csv or *.xml). 
&lt;BR /&gt;tDie_1 (to stop the infinite loop) : 
&lt;BR /&gt;Die message : "download all files OK" 
&lt;BR /&gt;Error code : 0 
&lt;BR /&gt;Priority : Info 
&lt;BR /&gt;JC 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCZY.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142246i2857393655EDEFDE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCZY.jpg" alt="0683p000009MCZY.jpg" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 27 Jun 2008 13:05:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-wait-for-file-on-a-ftp-server/m-p/2228164#M19523</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-27T13:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to wait for file on a ftp server?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-wait-for-file-on-a-ftp-server/m-p/2228165#M19524</link>
      <description>very astucious ;-)
&lt;BR /&gt;
&lt;BR /&gt;Jérémie</description>
      <pubDate>Fri, 27 Jun 2008 13:35:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-wait-for-file-on-a-ftp-server/m-p/2228165#M19524</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-27T13:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to wait for file on a ftp server?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-wait-for-file-on-a-ftp-server/m-p/2228166#M19525</link>
      <description>Thanks a lot!!!</description>
      <pubDate>Fri, 27 Jun 2008 13:42:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-wait-for-file-on-a-ftp-server/m-p/2228166#M19525</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-27T13:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to wait for file on a ftp server?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-wait-for-file-on-a-ftp-server/m-p/2228167#M19526</link>
      <description>&lt;P&gt;Really great example! This really explained how to use the globalMap and looping.&lt;BR /&gt;If you use tFTPFileExist then an if you can do a simple check of an SFTP server for a file to be delivered.&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Infinite Looping Examples FTP" style="width: 599px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7Na.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133427i8029A58D3F77F193/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7Na.png" alt="0683p000009M7Na.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Infinite Looping Examples FTP&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 22:09:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-wait-for-file-on-a-ftp-server/m-p/2228167#M19526</guid>
      <dc:creator>Fish3</dc:creator>
      <dc:date>2019-10-04T22:09:57Z</dc:date>
    </item>
  </channel>
</rss>

