<?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: reading a txt file from a SSH server in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/reading-a-txt-file-from-a-SSH-server/m-p/2291900#M65036</link>
    <description>You need to correct your design (you must use an ITERATE link out of the tSCPFileList not "ComponentOk"). 
&lt;BR /&gt;Connection---onOk---&amp;gt;FileList-----iterate-----&amp;gt;FileGet-----(then attach any component you want to process the downloaded file). 
&lt;BR /&gt;In filelist you must specify a command to list the file you want, one per line (ie. "ls -1 /home/my/dir/*.txt" ) 
&lt;BR /&gt;Then in fileget, you must specify a dynamic parameter for the file to be downloaded that represent the current iteration of FileList... press ctrl+space in the file list of FileGet to retrieve the published variable by FileList. 
&lt;BR /&gt;buona fortuna.</description>
    <pubDate>Sun, 16 Aug 2009 10:35:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-08-16T10:35:34Z</dc:date>
    <item>
      <title>reading a txt file from a SSH server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/reading-a-txt-file-from-a-SSH-server/m-p/2291894#M65030</link>
      <description>Hi all. I have a problem.
&lt;BR /&gt;In my scenario I must read a set of files (txt files) from a SSH server.
&lt;BR /&gt;I'm able to connect to the server, but when I try to get files it gives me error.
&lt;BR /&gt;Connecting to server I use tSCPConnection component. Then I use tSCPFileList component to specify path and type of file that must be read (txt files). Then I use tSCPGet component to "read" files, but it gives me this error:
&lt;BR /&gt;java.io.IOException: Error during SCP transfer.
&lt;BR /&gt; at ch.ethz.ssh2.SCPClient.get(SCPClient.java:651)
&lt;BR /&gt; at ch.ethz.ssh2.SCPClient.get(SCPClient.java:612)
&lt;BR /&gt; at isti.lettura_file_su_server_0_1.lettura_file_su_server.tSCPGet_1Process(lettura_file_su_server.java:540)
&lt;BR /&gt; at isti.lettura_file_su_server_0_1.lettura_file_su_server.tSCPFileList_1Process(lettura_file_su_server.java:462)
&lt;BR /&gt; at isti.lettura_file_su_server_0_1.lettura_file_su_server.tSCPConnection_1Process(lettura_file_su_server.java:270)
&lt;BR /&gt; at isti.lettura_file_su_server_0_1.lettura_file_su_server.runJobInTOS(lettura_file_su_server.java:766)
&lt;BR /&gt; at isti.lettura_file_su_server_0_1.lettura_file_su_server.main(lettura_file_su_server.java:682)
&lt;BR /&gt;Caused by: java.io.IOException: Remote SCP error: scp: /disco_dcna1/isti/qsdatab/qsa/mydeck: No such file or directory
&lt;BR /&gt; at ch.ethz.ssh2.SCPClient.receiveFiles(SCPClient.java:252)
&lt;BR /&gt; at ch.ethz.ssh2.SCPClient.get(SCPClient.java:647)
&lt;BR /&gt; ... 6 more
&lt;BR /&gt;Where am I wrong? I must use another component? 
&lt;BR /&gt;My objective is to read files (*.txt) from server that must be used in elaborations.
&lt;BR /&gt;Can anyone help me? Thanks.
&lt;BR /&gt;I'm on talend open studio 3.1.0
&lt;BR /&gt;Fabrizio</description>
      <pubDate>Sat, 16 Nov 2024 13:50:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/reading-a-txt-file-from-a-SSH-server/m-p/2291894#M65030</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: reading a txt file from a SSH server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/reading-a-txt-file-from-a-SSH-server/m-p/2291895#M65031</link>
      <description>Anyone can help me, please??&lt;BR /&gt;Fabrizio</description>
      <pubDate>Wed, 12 Aug 2009 07:38:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/reading-a-txt-file-from-a-SSH-server/m-p/2291895#M65031</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-08-12T07:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: reading a txt file from a SSH server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/reading-a-txt-file-from-a-SSH-server/m-p/2291896#M65032</link>
      <description>Hello Fabrizio
&lt;BR /&gt;First, can you connect to SSH server successfully? Keep tSCPConnection and desactivate other componnt to check.
&lt;BR /&gt;Best regards
&lt;BR /&gt; shong</description>
      <pubDate>Wed, 12 Aug 2009 08:02:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/reading-a-txt-file-from-a-SSH-server/m-p/2291896#M65032</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-08-12T08:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: reading a txt file from a SSH server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/reading-a-txt-file-from-a-SSH-server/m-p/2291897#M65033</link>
      <description>Yes I can connect successfully to SSH server, because it shows me a message box that I put when connection is ok.
&lt;BR /&gt;Then after this I put a tSCPGet component in order to read file and i move my message box after this component as you can see in my figure.
&lt;BR /&gt;Thanks. Fabrizio</description>
      <pubDate>Wed, 12 Aug 2009 08:05:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/reading-a-txt-file-from-a-SSH-server/m-p/2291897#M65033</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-08-12T08:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: reading a txt file from a SSH server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/reading-a-txt-file-from-a-SSH-server/m-p/2291898#M65034</link>
      <description>Hello 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Caused by: java.io.IOException: Remote SCP error: scp: /disco_dcna1/isti/qsdatab/qsa/mydeck: No such file or directory&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;I have tested and found that we should type in the full name of file at the moment, eg: 
&lt;BR /&gt;/root/shong/test.csv 
&lt;BR /&gt;It doesn't support wildcard character, eg: 
&lt;BR /&gt;/root/shong/*.csv 
&lt;BR /&gt;I think it should be added as a new feature. Would you like to report it on our bugtracker? 
&lt;BR /&gt;For now, you try to type in the full name of file or you can try the ftp component with SFTP support feature. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; shong</description>
      <pubDate>Thu, 13 Aug 2009 08:01:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/reading-a-txt-file-from-a-SSH-server/m-p/2291898#M65034</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-08-13T08:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: reading a txt file from a SSH server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/reading-a-txt-file-from-a-SSH-server/m-p/2291899#M65035</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hello&lt;BR /&gt; 
     &lt;BLOCKQUOTE&gt; 
      &lt;TABLE border="1"&gt; 
       &lt;TBODY&gt; 
        &lt;TR&gt; 
         &lt;TD&gt;Caused by: java.io.IOException: Remote SCP error: scp: /disco_dcna1/isti/qsdatab/qsa/mydeck: No such file or directory&lt;/TD&gt; 
        &lt;/TR&gt; 
       &lt;/TBODY&gt; 
      &lt;/TABLE&gt; 
     &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;I have tested and found that we should type in the full name of file at the moment, eg:&lt;BR /&gt;/root/shong/test.csv&lt;BR /&gt;It doesn't support wildcard character, eg:&lt;BR /&gt;/root/shong/*.csv&lt;BR /&gt;I think it should be added as a new feature. Would you like to report it on our bugtracker?&lt;BR /&gt;For now, you try to type in the full name of file or you can try the ftp component with SFTP support feature.&lt;BR /&gt;Best regards&lt;BR /&gt; shong&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;But what I need is to read all txt files in a particular directory on the server. 
&lt;BR /&gt;I have done the same local on a machine with xls files and now i must do the same on the server. 
&lt;BR /&gt;I must read all txt files in the directory, because they are input for my procedures. 
&lt;BR /&gt;How can I achieve this??? 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Fabrizio</description>
      <pubDate>Sat, 15 Aug 2009 14:05:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/reading-a-txt-file-from-a-SSH-server/m-p/2291899#M65035</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-08-15T14:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: reading a txt file from a SSH server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/reading-a-txt-file-from-a-SSH-server/m-p/2291900#M65036</link>
      <description>You need to correct your design (you must use an ITERATE link out of the tSCPFileList not "ComponentOk"). 
&lt;BR /&gt;Connection---onOk---&amp;gt;FileList-----iterate-----&amp;gt;FileGet-----(then attach any component you want to process the downloaded file). 
&lt;BR /&gt;In filelist you must specify a command to list the file you want, one per line (ie. "ls -1 /home/my/dir/*.txt" ) 
&lt;BR /&gt;Then in fileget, you must specify a dynamic parameter for the file to be downloaded that represent the current iteration of FileList... press ctrl+space in the file list of FileGet to retrieve the published variable by FileList. 
&lt;BR /&gt;buona fortuna.</description>
      <pubDate>Sun, 16 Aug 2009 10:35:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/reading-a-txt-file-from-a-SSH-server/m-p/2291900#M65036</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-08-16T10:35:34Z</dc:date>
    </item>
  </channel>
</rss>

