<?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 Proper Filemask for tFTPPut in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Proper-Filemask-for-tFTPPut/m-p/2367178#M130587</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; I have an issue with my design and need some guidance with my tFTPPut configuration. This is what I have setup right now in Designer.&amp;nbsp;&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline"&gt;&lt;SPAN class="lia-message-image-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LyHA.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157878i3293D6B2314F7406/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LyHA.jpg" alt="0683p000009LyHA.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;What I'm doing now (or trying to do) is get the list of files (*.*) from the source FTP server&amp;nbsp;using tFTPFileList. Then I'm&amp;nbsp;using tFTPGet to download all of the files to a local network directory. So far, this is working fine. Then I use tFTPPut to take those files from the local network directory and put them on the destination FTP server. Lastly, I delete the files from the source FTP server. Here is my problem:&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;1. I need to run this about every hour and I will constantly have a random number of new files coming in from the source FTP server. When tFTPPut executes, I need it to just grab the new files from the local directory that have imported since the last script run and move them to the destination FTP server. I think I can do this with Filemasking, but I don't know what to use. I can't afford to miss a file.&amp;nbsp;These are electronic purchase orders that are being sent in to our ERP system. Can anyone recommend a solution for this?&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;2. I created several contexts for my subdirectory paths on the local and FTP servers. When I run the script with the contexts entered in the local and remote directory fields I always get an FTP 550 Error stating that there is no such file or folder. I don't know why this happens or how to correct it. Right now I have to enter the path in the fields as a workaround. This works, but I'd like to understand what I'm doing wrong with the contexts. Has anyone else run into this problem and what did you do to resolve it?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jun 2018 21:00:46 GMT</pubDate>
    <dc:creator>gcasey</dc:creator>
    <dc:date>2018-06-05T21:00:46Z</dc:date>
    <item>
      <title>Proper Filemask for tFTPPut</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Proper-Filemask-for-tFTPPut/m-p/2367178#M130587</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; I have an issue with my design and need some guidance with my tFTPPut configuration. This is what I have setup right now in Designer.&amp;nbsp;&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline"&gt;&lt;SPAN class="lia-message-image-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LyHA.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157878i3293D6B2314F7406/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LyHA.jpg" alt="0683p000009LyHA.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;What I'm doing now (or trying to do) is get the list of files (*.*) from the source FTP server&amp;nbsp;using tFTPFileList. Then I'm&amp;nbsp;using tFTPGet to download all of the files to a local network directory. So far, this is working fine. Then I use tFTPPut to take those files from the local network directory and put them on the destination FTP server. Lastly, I delete the files from the source FTP server. Here is my problem:&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;1. I need to run this about every hour and I will constantly have a random number of new files coming in from the source FTP server. When tFTPPut executes, I need it to just grab the new files from the local directory that have imported since the last script run and move them to the destination FTP server. I think I can do this with Filemasking, but I don't know what to use. I can't afford to miss a file.&amp;nbsp;These are electronic purchase orders that are being sent in to our ERP system. Can anyone recommend a solution for this?&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;2. I created several contexts for my subdirectory paths on the local and FTP servers. When I run the script with the contexts entered in the local and remote directory fields I always get an FTP 550 Error stating that there is no such file or folder. I don't know why this happens or how to correct it. Right now I have to enter the path in the fields as a workaround. This works, but I'd like to understand what I'm doing wrong with the contexts. Has anyone else run into this problem and what did you do to resolve it?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2018 21:00:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Proper-Filemask-for-tFTPPut/m-p/2367178#M130587</guid>
      <dc:creator>gcasey</dc:creator>
      <dc:date>2018-06-05T21:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Proper Filemask for tFTPPut</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Proper-Filemask-for-tFTPPut/m-p/2367179#M130588</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOSkAAO"&gt;@gcasey&lt;/A&gt;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1 :- you can use the Filemask to get the latest for the particular hourly based file using below one in file masking.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;*+TalendDate.getDate("yyyyMMddHH")+.xls&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;2:-if i understand correctly when you use context for the folder name you were getting&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;FTP 550 error and when you hard code working fine right,which&amp;nbsp;means you context value ,which you specified that folder structure is not present&amp;nbsp;in FTP location&amp;nbsp;or might not have access to fetch&amp;nbsp;file from that ftp location.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2018 05:54:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Proper-Filemask-for-tFTPPut/m-p/2367179#M130588</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-06-06T05:54:35Z</dc:date>
    </item>
  </channel>
</rss>

