<?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: Retrieveing files from FTP (javacode in use) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Retrieveing-files-from-FTP-javacode-in-use/m-p/2205419#M5890</link>
    <description>In my views there is a problem with your job. &lt;BR /&gt;You need to use TFTPFileList--Iterate--&amp;gt;tFTPFileProperties--tJavaRow-----if--&amp;gt;tFTPGet&lt;BR /&gt;get the file properties and do your validation. if Correct assign the result to a context variable(boolean).Check the context in the if condition and then download the file to local folder.&lt;BR /&gt;Use the below for getting the current file.&lt;BR /&gt;((String)globalMap.get("tFTPFileList_1_CURRENT_FILE"))&lt;BR /&gt;Hope this clarifies.</description>
    <pubDate>Wed, 23 Feb 2011 17:11:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-02-23T17:11:27Z</dc:date>
    <item>
      <title>Retrieveing files from FTP (javacode in use)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieveing-files-from-FTP-javacode-in-use/m-p/2205416#M5887</link>
      <description>Hi 
&lt;BR /&gt;I have to retrieve the most recent version of my files from my FTP which are comming daily. 
&lt;BR /&gt;Every day our data source getting different files folder with a datestamp appended as the filename most in format of date in format "yyyyMMdd", when are sent out . 
&lt;BR /&gt;e.g: 
&lt;BR /&gt;On the top level I am having file name and under that name having a few different files in format of date see below. 
&lt;BR /&gt;20110201 
&lt;BR /&gt;20110202 
&lt;BR /&gt;20110203 
&lt;BR /&gt; 
&lt;BR /&gt;I'm assuming I'll need to use a tFTPconnection, tFTPFileList and potentially tFileProperties to look for all files . However, when I get my files from FTP I will need to save that files to directory which should be somewhere under my &lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt; or what ever drive. 
&lt;BR /&gt;Is anyone can help me with this. 
&lt;BR /&gt;Thanks 
&lt;BR /&gt;Zeljka</description>
      <pubDate>Sat, 16 Nov 2024 13:04:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieveing-files-from-FTP-javacode-in-use/m-p/2205416#M5887</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieveing files from FTP (javacode in use)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieveing-files-from-FTP-javacode-in-use/m-p/2205417#M5888</link>
      <description>use tFTPGet to download the files from FTP and save in the local folder.</description>
      <pubDate>Wed, 23 Feb 2011 11:51:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieveing-files-from-FTP-javacode-in-use/m-p/2205417#M5888</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-23T11:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieveing files from FTP (javacode in use)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieveing-files-from-FTP-javacode-in-use/m-p/2205418#M5889</link>
      <description>hi, &lt;BR /&gt;Thanks for this, &lt;BR /&gt;yes I have used tFTPGet to get my folder from FTP and after tFTPGet I am having tFTPFilelist which I thought I can use to read files under. &lt;BR /&gt;however as I am having a few folders under I try to filter but not working. &lt;BR /&gt;Not sure what I can use between my tFTPGet and tFTPfilelist to get my files as I am having this order folders:&lt;BR /&gt;folderFilles ----- folders with names like 20110201 ......20110210&lt;BR /&gt;&lt;BR /&gt;and below is image of my work...</description>
      <pubDate>Wed, 23 Feb 2011 13:12:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieveing-files-from-FTP-javacode-in-use/m-p/2205418#M5889</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-23T13:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieveing files from FTP (javacode in use)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieveing-files-from-FTP-javacode-in-use/m-p/2205419#M5890</link>
      <description>In my views there is a problem with your job. &lt;BR /&gt;You need to use TFTPFileList--Iterate--&amp;gt;tFTPFileProperties--tJavaRow-----if--&amp;gt;tFTPGet&lt;BR /&gt;get the file properties and do your validation. if Correct assign the result to a context variable(boolean).Check the context in the if condition and then download the file to local folder.&lt;BR /&gt;Use the below for getting the current file.&lt;BR /&gt;((String)globalMap.get("tFTPFileList_1_CURRENT_FILE"))&lt;BR /&gt;Hope this clarifies.</description>
      <pubDate>Wed, 23 Feb 2011 17:11:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieveing-files-from-FTP-javacode-in-use/m-p/2205419#M5890</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-23T17:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieveing files from FTP (javacode in use)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieveing-files-from-FTP-javacode-in-use/m-p/2205420#M5891</link>
      <description>Hi , &lt;BR /&gt;Thank you, &lt;BR /&gt;I have change my job in the order as you suggested and giving me all my files as should . &lt;BR /&gt;However, I am having every day files with probably same name but the only differents are the time stamp and I am not sure how I can get my files with latest time stamp. &lt;BR /&gt;I would like to have the only files which are having the new time when are send out as I need to retrieved the only that  files even if having same name. &lt;BR /&gt;Does anyone have idea how I can do this . &lt;BR /&gt;&lt;BR /&gt;Zeljka</description>
      <pubDate>Thu, 24 Feb 2011 09:36:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieveing-files-from-FTP-javacode-in-use/m-p/2205420#M5891</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-24T09:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieveing files from FTP (javacode in use)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieveing-files-from-FTP-javacode-in-use/m-p/2205421#M5892</link>
      <description>Each time you download a file, save the file name in a CSV or database.
&lt;BR /&gt;In the given scenario, pass the tJavaRow--&amp;gt;tMap--tJavaRow---if(true)--tFTPGet
&lt;BR /&gt;have a lookup of the fileName in the CSV or database. If it doesnot matches download the file.
&lt;BR /&gt;There are other ways too like once a file is downloaded u put the file in sepearte folder in FTP, or dont keep the files in FTP after download, As you can keep the download files in your backup folder in local.
&lt;BR /&gt;Hope it helps you</description>
      <pubDate>Thu, 24 Feb 2011 10:50:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieveing-files-from-FTP-javacode-in-use/m-p/2205421#M5892</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-24T10:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieveing files from FTP (javacode in use)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieveing-files-from-FTP-javacode-in-use/m-p/2205422#M5893</link>
      <description>could you please give me some screenshots&lt;BR /&gt;Thanks&lt;BR /&gt;Zeljka</description>
      <pubDate>Thu, 24 Feb 2011 12:16:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieveing-files-from-FTP-javacode-in-use/m-p/2205422#M5893</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-24T12:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieveing files from FTP (javacode in use)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieveing-files-from-FTP-javacode-in-use/m-p/2205423#M5894</link>
      <description>Hi&lt;BR /&gt;I have uploaded some screenshots which will explain.&lt;BR /&gt;In the tMap you should enable inner join.&lt;BR /&gt;After the tJavaRow, put an if condition as if there is no file then no need to run tFTPPut.&lt;BR /&gt;Once a file is downloaded you can append the CSV file and add the new name to it.&lt;BR /&gt;Hope this helps you</description>
      <pubDate>Thu, 24 Feb 2011 16:03:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieveing-files-from-FTP-javacode-in-use/m-p/2205423#M5894</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-24T16:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieveing files from FTP (javacode in use)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieveing-files-from-FTP-javacode-in-use/m-p/2205424#M5895</link>
      <description>Thank you , &lt;BR /&gt;Zeljka</description>
      <pubDate>Thu, 24 Feb 2011 16:52:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieveing-files-from-FTP-javacode-in-use/m-p/2205424#M5895</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-24T16:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieveing files from FTP (javacode in use)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieveing-files-from-FTP-javacode-in-use/m-p/2205425#M5896</link>
      <description>Hi, 
&lt;BR /&gt;I am having problem to figure out how to pull out the files by looking only on the time stamp as I need to have files with latest time stamp or also case were I have to look for files which are older like from last month etc..
&lt;BR /&gt;I can't use name of the file as in most of cases I am having files with same name , the only different between all these files are as I keep saying the time stamp where are sent out. 
&lt;BR /&gt;Also I will need to find option how to find files like between two different time.. e.g. file with time stamp between this time stamp and that time stamp. 
&lt;BR /&gt;I was able to create the simple schema which giving me list of the file with "yesterday" time stamp or day before but not sure how to do the other option. 
&lt;BR /&gt;I hope anyone can help me. 
&lt;BR /&gt;Below is my simple schema with java code which giving me files from day before .</description>
      <pubDate>Fri, 25 Feb 2011 09:48:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieveing-files-from-FTP-javacode-in-use/m-p/2205425#M5896</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-25T09:48:46Z</dc:date>
    </item>
  </channel>
</rss>

