<?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 close a FTP Connection in Talend in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-close-a-FTP-Connection-in-Talend/m-p/2205202#M5745</link>
    <description>OK, i opened a new topic.  Thanks in advance for any advice on how an FTP connection is forced closed in Talend.</description>
    <pubDate>Sat, 15 Dec 2012 07:00:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-12-15T07:00:43Z</dc:date>
    <item>
      <title>How to close a FTP Connection in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-close-a-FTP-Connection-in-Talend/m-p/2205196#M5739</link>
      <description>Hi, 
&lt;BR /&gt;I have an ETL Job where i download a file from FTP (in Passive mode), process it and then load it to DB. 
&lt;BR /&gt;The source FTP has a limitation that it allows only 5 connections from the same IP. 
&lt;BR /&gt;When the files are small, the earlier connections don't timeout. So, when i download the file for 6th day, it fails with the Exception: "com.enterprisedt.net.ftp.FTPConnectionClosedException:Not logged in, only 5 sessions from same IP allowed concurrently." 
&lt;BR /&gt;I cannot reuse the same FTP connection for all days of load as file processing can take time. 
&lt;BR /&gt;So, is there any way we can close the FTP connection after each day's file is processed? 
&lt;BR /&gt;Let me know if there are any other ways of doing it. 
&lt;BR /&gt;Thanks in advance, 
&lt;BR /&gt;Diwakar</description>
      <pubDate>Wed, 07 Nov 2012 07:54:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-close-a-FTP-Connection-in-Talend/m-p/2205196#M5739</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-11-07T07:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to close a FTP Connection in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-close-a-FTP-Connection-in-Talend/m-p/2205197#M5740</link>
      <description>Hi&lt;BR /&gt;Can you please upload a screenshot of job? How do you schedule the job now?</description>
      <pubDate>Wed, 07 Nov 2012 11:54:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-close-a-FTP-Connection-in-Talend/m-p/2205197#M5740</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-07T11:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to close a FTP Connection in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-close-a-FTP-Connection-in-Talend/m-p/2205198#M5741</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Hi&lt;BR /&gt;Can you please upload a screenshot of job? How do you schedule the job now?&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;The complete job is quite big, but the psuedo code for the FTP logic is :
&lt;BR /&gt;tJavaFlex --------------&amp;gt; tFTPConnection -----------------&amp;gt; tFTPGet ---------------&amp;gt;Process and load file to DB 
&lt;BR /&gt;(generate iterate OnComponentOk OnComponentOk
&lt;BR /&gt;ETL Dates)
&lt;BR /&gt;The FTP Server doesn't allow more than 5 passive connections at a time from the same IP. The connection times out in around 5 mins. But if the File downloading and processing is quick, then the connection limit of 5 is reached before the earlier ones time out.
&lt;BR /&gt;For initial load, i need to run the job for 30 days but the job fails at 6th day due to the above mentioned issue.
&lt;BR /&gt;Let me know if there are any confusions/questions?
&lt;BR /&gt;Thanks,
&lt;BR /&gt;Diwakar..</description>
      <pubDate>Thu, 08 Nov 2012 07:38:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-close-a-FTP-Connection-in-Talend/m-p/2205198#M5741</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-11-08T07:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to close a FTP Connection in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-close-a-FTP-Connection-in-Talend/m-p/2205199#M5742</link>
      <description>Does anyone have a solution for this?  I have the exact same problem.  Which FTP component issues a quit or bye command to close the FTP connection when done?</description>
      <pubDate>Thu, 13 Dec 2012 19:27:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-close-a-FTP-Connection-in-Talend/m-p/2205199#M5742</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-12-13T19:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to close a FTP Connection in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-close-a-FTP-Connection-in-Talend/m-p/2205200#M5743</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;tJavaFlex --------------&amp;gt; tFTPConnection -----------------&amp;gt; tFTPGet ---------------&amp;gt;Process and load file to DB &lt;BR /&gt;(generate iterate OnComponentOk OnComponentOk&lt;BR /&gt;ETL Dates)&lt;BR /&gt;.&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;To avoid this problem, you can re-design the job as below, create only FTP connection at the beginning of job, and all the ftp component use the same connection.
&lt;BR /&gt;tFTPConnection
&lt;BR /&gt; |
&lt;BR /&gt;onsubjobok
&lt;BR /&gt; |
&lt;BR /&gt;tJavaFlex--iterate--tFTPGet--oncomponentok--process and load file to db.
&lt;BR /&gt;@cocheese, what's your problem? Can you please report a new topic for your problem with details?
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 14 Dec 2012 04:27:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-close-a-FTP-Connection-in-Talend/m-p/2205200#M5743</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-12-14T04:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to close a FTP Connection in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-close-a-FTP-Connection-in-Talend/m-p/2205201#M5744</link>
      <description>I have created approx. ~20 FTP accounts at InMotionHosting ISP (one for each of our business partners). Our partners put an Excel file on their respective FTP accounts. I have a Talend job that iterates through each of the 20 FTP accounts and downloads the Excel files from each partner. The ISP only supports 8 open FTP sessions from a single IP address. 
&lt;BR /&gt;To simplify my job has: FTP connection (using variable for connection info) --&amp;gt; FTPGetFile --&amp;gt; FTPDeleteFile then iterates to the next partner FTP connection passed to FTP connection variable. 
&lt;BR /&gt;After FTPDeleteFile is completed, how do I ensure the current FTP connection is closed?</description>
      <pubDate>Sat, 15 Dec 2012 06:56:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-close-a-FTP-Connection-in-Talend/m-p/2205201#M5744</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-12-15T06:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to close a FTP Connection in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-close-a-FTP-Connection-in-Talend/m-p/2205202#M5745</link>
      <description>OK, i opened a new topic.  Thanks in advance for any advice on how an FTP connection is forced closed in Talend.</description>
      <pubDate>Sat, 15 Dec 2012 07:00:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-close-a-FTP-Connection-in-Talend/m-p/2205202#M5745</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-12-15T07:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to close a FTP Connection in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-close-a-FTP-Connection-in-Talend/m-p/2205203#M5746</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;tJavaFlex --------------&amp;gt; tFTPConnection -----------------&amp;gt; tFTPGet ---------------&amp;gt;Process and load file to DB &lt;BR /&gt;(generate iterate OnComponentOk OnComponentOk&lt;BR /&gt;ETL Dates)&lt;BR /&gt;.&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;To avoid this problem, you can re-design the job as below, create only FTP connection at the beginning of job, and all the ftp component use the same connection.
&lt;BR /&gt;tFTPConnection
&lt;BR /&gt; |
&lt;BR /&gt;onsubjobok
&lt;BR /&gt; |
&lt;BR /&gt;tJavaFlex--iterate--tFTPGet--oncomponentok--process and load file to db.
&lt;BR /&gt;@cocheese, what's your problem? Can you please report a new topic for your problem with details?
&lt;BR /&gt;Shong
&lt;BR /&gt;Hi,
&lt;BR /&gt;I can't create a connection at the beginning and reuse it, as the step "process and load file to db" is not always quick, sometimes if the the files are big, this process can take a lot of time due to which the connection times out.
&lt;BR /&gt;Thanks,
&lt;BR /&gt;Diwakar</description>
      <pubDate>Mon, 17 Dec 2012 10:38:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-close-a-FTP-Connection-in-Talend/m-p/2205203#M5746</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-12-17T10:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to close a FTP Connection in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-close-a-FTP-Connection-in-Talend/m-p/2205204#M5747</link>
      <description>Hi Diwakar
&lt;BR /&gt;See my answer in another topic:
&lt;BR /&gt;
&lt;A href="http://www.talendforge.org/forum/viewtopic.php?pid=99879#p99879" rel="nofollow noopener noreferrer"&gt;http://www.talendforge.org/forum/viewtopic.php?pid=99879#p99879&lt;/A&gt;
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 17 Dec 2012 13:34:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-close-a-FTP-Connection-in-Talend/m-p/2205204#M5747</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-12-17T13:34:10Z</dc:date>
    </item>
  </channel>
</rss>

