<?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: How to avoid : tFTPFilelist can't find file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-avoid-tFTPFilelist-can-t-find-file/m-p/2377432#M139243</link>
    <description>&lt;P&gt;Hi Shong, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Due to possible futures changes, I'm using a table : &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000Lz5NkAAJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154122i66F0FB8E27105677/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000Lz5NkAAJ.png" alt="0695b00000Lz5NkAAJ.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Every row of the table are sending a specifical FTP folder to the childjob T_FTP_GET_FILE_GENERIQUE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then the child job is support to check this folder, and to treat each file one by one (get, delete, then go on the next file)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000Lz5OJAAZ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136452iA9E9DE9A8F27C15C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000Lz5OJAAZ.png" alt="0695b00000Lz5OJAAZ.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But an empty folder will generate an error with the tFTPFilelist, on the contrary of a tFileList with local folder &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Nicolas&lt;/P&gt;</description>
    <pubDate>Fri, 31 Dec 2021 09:53:25 GMT</pubDate>
    <dc:creator>NMonchicourt</dc:creator>
    <dc:date>2021-12-31T09:53:25Z</dc:date>
    <item>
      <title>How to avoid : tFTPFilelist can't find file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-avoid-tFTPFilelist-can-t-find-file/m-p/2377430#M139241</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 42 FTP folders that I check one by one. Each of them can contain or not one or multiples .csv with non-constant name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't simply use tFTPGet ("*.csv") ----on component ok ----&amp;gt; TFTPDelete ("*.csv") because a file can be upload between the tFTPGet and tFTPDelete, so it will be delete and not download (already happened) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I tried tFTPFilelist ----iterate ----&amp;gt;  tFTPGet ("CURRENT_FILE variable") ----- on component ok ----&amp;gt; tFTPDelete &lt;/P&gt;&lt;P&gt;("CURRENT_FILE variable")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is : If the folder do not contain any file, tFTPFilelist generate an error and job die. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;tFTPFilelist don't have a die on error option &lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;tFTPFileExist can only look for a specific file with specific name (can't use "*.csv") &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to treat ftp files one by one, might be the best option to not delete a file that haven't been download. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nicolas&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:21:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-avoid-tFTPFilelist-can-t-find-file/m-p/2377430#M139241</guid>
      <dc:creator>NMonchicourt</dc:creator>
      <dc:date>2024-11-15T23:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid : tFTPFilelist can't find file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-avoid-tFTPFilelist-can-t-find-file/m-p/2377431#M139242</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;How do you specify the remote directory on tFTPFilelist? Read the 42 folder path from somewhere and iterate them one by one, and use the current folder path on tFTPFilelist?&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, 31 Dec 2021 09:40:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-avoid-tFTPFilelist-can-t-find-file/m-p/2377431#M139242</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-31T09:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid : tFTPFilelist can't find file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-avoid-tFTPFilelist-can-t-find-file/m-p/2377432#M139243</link>
      <description>&lt;P&gt;Hi Shong, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Due to possible futures changes, I'm using a table : &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000Lz5NkAAJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154122i66F0FB8E27105677/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000Lz5NkAAJ.png" alt="0695b00000Lz5NkAAJ.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Every row of the table are sending a specifical FTP folder to the childjob T_FTP_GET_FILE_GENERIQUE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then the child job is support to check this folder, and to treat each file one by one (get, delete, then go on the next file)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000Lz5OJAAZ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136452iA9E9DE9A8F27C15C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000Lz5OJAAZ.png" alt="0695b00000Lz5OJAAZ.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But an empty folder will generate an error with the tFTPFilelist, on the contrary of a tFileList with local folder &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Nicolas&lt;/P&gt;</description>
      <pubDate>Fri, 31 Dec 2021 09:53:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-avoid-tFTPFilelist-can-t-find-file/m-p/2377432#M139243</guid>
      <dc:creator>NMonchicourt</dc:creator>
      <dc:date>2021-12-31T09:53:25Z</dc:date>
    </item>
  </channel>
</rss>

