<?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 unzip a file on a remote server in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-unzip-a-file-on-a-remote-server/m-p/2370821#M133823</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;iamabhishek,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I used the same Username, Host, Port as I used in tFTPConnection.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In my tFTPConnection I used "Public Key" Authentication method with a private key file, so I used the same in tSSH. But I had no luck - (BTW, the Schema was set to be "Built-In" and the Key Passphrase I used the defaulted)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;statistics] connecting to socket on port 3958&lt;BR /&gt;[statistics] connected&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Exception in component tSSH_1 (movefiles)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;java.io.IOException: The execute request failed.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at ch.ethz.ssh2.channel.ChannelManager.requestExecCommand(ChannelManager.java:764)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at ch.ethz.ssh2.Session.execCommand(Session.java:256)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at ch.ethz.ssh2.Session.execCommand(Session.java:229)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at pl_project.movefiles_0_1.movefiles.tSSH_1Process(movefiles.java:394)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at pl_project.movefiles_0_1.movefiles$2.run(movefiles.java:734)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Caused by: java.io.IOException: The server denied the request.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at ch.ethz.ssh2.channel.ChannelManager.waitForChannelSuccessOrFailure(ChannelManager.java:235)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at ch.ethz.ssh2.channel.ChannelManager.requestExecCommand(ChannelManager.java:760)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;... 4 more&lt;/FONT&gt;&lt;BR /&gt;[statistics] disconnected&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Aug 2018 15:25:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-08-02T15:25:35Z</dc:date>
    <item>
      <title>How to unzip a file on a remote server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-unzip-a-file-on-a-remote-server/m-p/2370817#M133819</link>
      <description>&lt;P&gt;I posted a question earlier today asking "&lt;SPAN&gt;&amp;nbsp;How to copy folders from local to a remote server with files present in the folders?"&amp;nbsp;&lt;BR /&gt;Unfortunately, I haven't got any reply.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;So I followed someone's suggestion for a similar question online -&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;"you could create a zip or tar of the directory and its subfolders w/ files. Then, use tSFTP to transfer the files. Then, use tSsh to connect again and untar / unzip the file, containing subfolders and files."&lt;/FONT&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Here is what I did:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;1) With tFileArchive, I created a zip file for the folder and&amp;nbsp;its subfolders w/ files in local machine;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;2) With tFTPPut, I moved the zip file to the remove server;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Then I am stuck now. Don't know if I did step 1) and 2) correctly. And I couldn't find enough information for tSSH : Whether it can unzip the file on the remote server? If it can, How?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jul 2018 20:17:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-unzip-a-file-on-a-remote-server/m-p/2370817#M133819</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-25T20:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to unzip a file on a remote server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-unzip-a-file-on-a-remote-server/m-p/2370818#M133820</link>
      <description>&lt;P&gt;All you need to do is use the command to unzip files at remote server&lt;/P&gt; 
&lt;PRE&gt;unzip zipfilename.zip -d destination_directory&lt;/PRE&gt; 
&lt;P&gt;Sample -&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tSSH-1.JPG" style="width: 809px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LzQG.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132160iDF6D3C416F325452/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LzQG.jpg" alt="0683p000009LzQG.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tSSH-2.JPG" style="width: 488px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LzQL.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146645iE2A905278D972E3B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LzQL.jpg" alt="0683p000009LzQL.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;As you could see, you have the option to provide multiple commands in the tSSH using the command separator.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2018 09:54:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-unzip-a-file-on-a-remote-server/m-p/2370818#M133820</guid>
      <dc:creator>iamabhishek</dc:creator>
      <dc:date>2018-07-26T09:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to unzip a file on a remote server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-unzip-a-file-on-a-remote-server/m-p/2370819#M133821</link>
      <description>&lt;P&gt;Thank you iamabhishek for your reply!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think the most difficult part for me is to set up the connection correct for tSSH.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 14:43:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-unzip-a-file-on-a-remote-server/m-p/2370819#M133821</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-02T14:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to unzip a file on a remote server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-unzip-a-file-on-a-remote-server/m-p/2370820#M133822</link>
      <description>The connection properties for tSSH and tFTPConnection are very similar to each other. All you need to have is your target server details such as - host, port, username and password (if you choose authentication method as password).</description>
      <pubDate>Thu, 02 Aug 2018 14:48:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-unzip-a-file-on-a-remote-server/m-p/2370820#M133822</guid>
      <dc:creator>iamabhishek</dc:creator>
      <dc:date>2018-08-02T14:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to unzip a file on a remote server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-unzip-a-file-on-a-remote-server/m-p/2370821#M133823</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;iamabhishek,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I used the same Username, Host, Port as I used in tFTPConnection.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In my tFTPConnection I used "Public Key" Authentication method with a private key file, so I used the same in tSSH. But I had no luck - (BTW, the Schema was set to be "Built-In" and the Key Passphrase I used the defaulted)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;statistics] connecting to socket on port 3958&lt;BR /&gt;[statistics] connected&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Exception in component tSSH_1 (movefiles)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;java.io.IOException: The execute request failed.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at ch.ethz.ssh2.channel.ChannelManager.requestExecCommand(ChannelManager.java:764)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at ch.ethz.ssh2.Session.execCommand(Session.java:256)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at ch.ethz.ssh2.Session.execCommand(Session.java:229)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at pl_project.movefiles_0_1.movefiles.tSSH_1Process(movefiles.java:394)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at pl_project.movefiles_0_1.movefiles$2.run(movefiles.java:734)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Caused by: java.io.IOException: The server denied the request.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at ch.ethz.ssh2.channel.ChannelManager.waitForChannelSuccessOrFailure(ChannelManager.java:235)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;at ch.ethz.ssh2.channel.ChannelManager.requestExecCommand(ChannelManager.java:760)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;... 4 more&lt;/FONT&gt;&lt;BR /&gt;[statistics] disconnected&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 15:25:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-unzip-a-file-on-a-remote-server/m-p/2370821#M133823</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-02T15:25:35Z</dc:date>
    </item>
  </channel>
</rss>

