<?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>article How to connect to an FTP/SFTP server (when using the native cloud storageblocks) in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/How-to-connect-to-an-FTP-SFTP-server-when-using-the-native-cloud/ta-p/1928285</link>
    <description>&lt;P&gt;This article will cover how to connect a Datasource to your S/FTP server.&lt;/P&gt;
&lt;P&gt;While both connections offer you mainly the same input parameters on connecting you can observe a few differences:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;FTP&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FTP connection.png" style="width: 616px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161601iE8802D0875D25E55/image-dimensions/616x416?v=v2" width="616" height="416" role="button" title="FTP connection.png" alt="FTP connection.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;SFTP&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px" style="font-style: italic;"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sftp connection.png" style="width: 610px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161602iE9C5B8C2A9F79525/image-dimensions/610x574?v=v2" width="610" height="574" role="button" title="sftp connection.png" alt="sftp connection.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;While Ftp connections ask for a username and password to connect to the indicated host, Sftp connections give you a better configuration of the input parameters depending on which type of connection the server administrator set up for you.&lt;/P&gt;
&lt;P&gt;One of the Sftp options is to declare the port you want to connect to. While the default is port 22 and you don't need to fill the input parameter in, some connections might need other values.&lt;/P&gt;
&lt;P&gt;Please make sure for both connections when filling in the host parameter to remove any extra characters in front of the name like "&lt;FONT face="courier new,courier"&gt;https://&lt;/FONT&gt;" you get from copy paste a link, and also any ending "&lt;FONT face="courier new,courier"&gt;/&lt;/FONT&gt;" characters.&lt;/P&gt;
&lt;P&gt;As for the private_key parameter, if your connection requires one, make sure to copy-paste the whole string including the "&lt;FONT face="courier new,courier"&gt;-----BEGIN OPENSSH PRIVATE KEY-----&lt;/FONT&gt;" and&amp;nbsp; "&lt;FONT face="courier new,courier"&gt;-----END OPENSSH PRIVATE KEY-----&lt;/FONT&gt;" found in the key file.&amp;nbsp;&lt;EM&gt;At present we only&amp;nbsp;support RSA keys.&lt;/EM&gt;&lt;/P&gt;
&lt;BLOCKQUOTE class="quote"&gt;&lt;STRONG&gt;WARNING&lt;BR /&gt;&lt;/STRONG&gt;As of writing this article, Qlik does not support the generated key passphrase functionality. As a workaround, request your server administrator to set up the SFTP server using generated keys without passphrases.&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Also, one quirk you might encounter when trying to make use of the native cloud storage blocks functionality in conjunction with Ftp/Sftp servers is that when trying to manipulate files, make sure the user you connected to with the server has the required rights to manipulate the file accordingly (read/write).&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="read and write permissions.png" style="width: 654px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161603i94032D1B83F4857E/image-size/large?v=v2&amp;amp;px=999" role="button" title="read and write permissions.png" alt="read and write permissions.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;One other important issue you may encounter when trying to connect to one such server is the need to allow certain IP addresses in order to allow Qlik Application Automation to have access to that server.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;See&amp;nbsp;&lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Introduction/qlik-cloud-dns-ip.htm" target="_blank" rel="noopener"&gt;Allowlisting domain names and IP addresses&lt;/A&gt;&lt;SPAN&gt; to see the IP addresses that need to be added to the allow list.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;But if you're still having trouble you can also use the get functionality on the "&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;Call URL&lt;/STRONG&gt;&lt;SPAN&gt;" block with the URL target being&amp;nbsp;&lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://api.ipify.org/?format=json" target="_blank" rel="noopener"&gt;https://api.ipify.org/?format=json&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;in one of your automation in order to find out which IP to allow list:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;&lt;SPAN&gt;Call URL&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;block:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CALL Url.png" style="width: 452px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161604i22F9E0E414A085A1/image-dimensions/452x300?v=v2" width="452" height="300" role="button" title="CALL Url.png" alt="CALL Url.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;&lt;SPAN&gt;Result:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Call URL output.png" style="width: 455px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161605i5C9A5880B76BF0C6/image-dimensions/455x131?v=v2" width="455" height="131" role="button" title="Call URL output.png" alt="Call URL output.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-style: italic;"&gt;The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Mar 2024 13:18:24 GMT</pubDate>
    <dc:creator>Marius_Nuca</dc:creator>
    <dc:date>2024-03-08T13:18:24Z</dc:date>
    <item>
      <title>How to connect to an FTP/SFTP server (when using the native cloud storageblocks)</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/How-to-connect-to-an-FTP-SFTP-server-when-using-the-native-cloud/ta-p/1928285</link>
      <description>&lt;P&gt;This article will cover how to connect a Datasource to your S/FTP server.&lt;/P&gt;
&lt;P&gt;While both connections offer you mainly the same input parameters on connecting you can observe a few differences:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;FTP&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FTP connection.png" style="width: 616px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161601iE8802D0875D25E55/image-dimensions/616x416?v=v2" width="616" height="416" role="button" title="FTP connection.png" alt="FTP connection.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;SFTP&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px" style="font-style: italic;"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sftp connection.png" style="width: 610px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161602iE9C5B8C2A9F79525/image-dimensions/610x574?v=v2" width="610" height="574" role="button" title="sftp connection.png" alt="sftp connection.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;While Ftp connections ask for a username and password to connect to the indicated host, Sftp connections give you a better configuration of the input parameters depending on which type of connection the server administrator set up for you.&lt;/P&gt;
&lt;P&gt;One of the Sftp options is to declare the port you want to connect to. While the default is port 22 and you don't need to fill the input parameter in, some connections might need other values.&lt;/P&gt;
&lt;P&gt;Please make sure for both connections when filling in the host parameter to remove any extra characters in front of the name like "&lt;FONT face="courier new,courier"&gt;https://&lt;/FONT&gt;" you get from copy paste a link, and also any ending "&lt;FONT face="courier new,courier"&gt;/&lt;/FONT&gt;" characters.&lt;/P&gt;
&lt;P&gt;As for the private_key parameter, if your connection requires one, make sure to copy-paste the whole string including the "&lt;FONT face="courier new,courier"&gt;-----BEGIN OPENSSH PRIVATE KEY-----&lt;/FONT&gt;" and&amp;nbsp; "&lt;FONT face="courier new,courier"&gt;-----END OPENSSH PRIVATE KEY-----&lt;/FONT&gt;" found in the key file.&amp;nbsp;&lt;EM&gt;At present we only&amp;nbsp;support RSA keys.&lt;/EM&gt;&lt;/P&gt;
&lt;BLOCKQUOTE class="quote"&gt;&lt;STRONG&gt;WARNING&lt;BR /&gt;&lt;/STRONG&gt;As of writing this article, Qlik does not support the generated key passphrase functionality. As a workaround, request your server administrator to set up the SFTP server using generated keys without passphrases.&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Also, one quirk you might encounter when trying to make use of the native cloud storage blocks functionality in conjunction with Ftp/Sftp servers is that when trying to manipulate files, make sure the user you connected to with the server has the required rights to manipulate the file accordingly (read/write).&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="read and write permissions.png" style="width: 654px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161603i94032D1B83F4857E/image-size/large?v=v2&amp;amp;px=999" role="button" title="read and write permissions.png" alt="read and write permissions.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;One other important issue you may encounter when trying to connect to one such server is the need to allow certain IP addresses in order to allow Qlik Application Automation to have access to that server.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;See&amp;nbsp;&lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Introduction/qlik-cloud-dns-ip.htm" target="_blank" rel="noopener"&gt;Allowlisting domain names and IP addresses&lt;/A&gt;&lt;SPAN&gt; to see the IP addresses that need to be added to the allow list.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;But if you're still having trouble you can also use the get functionality on the "&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;Call URL&lt;/STRONG&gt;&lt;SPAN&gt;" block with the URL target being&amp;nbsp;&lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://api.ipify.org/?format=json" target="_blank" rel="noopener"&gt;https://api.ipify.org/?format=json&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;in one of your automation in order to find out which IP to allow list:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;&lt;SPAN&gt;Call URL&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;block:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CALL Url.png" style="width: 452px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161604i22F9E0E414A085A1/image-dimensions/452x300?v=v2" width="452" height="300" role="button" title="CALL Url.png" alt="CALL Url.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;&lt;SPAN&gt;Result:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Call URL output.png" style="width: 455px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161605i5C9A5880B76BF0C6/image-dimensions/455x131?v=v2" width="455" height="131" role="button" title="Call URL output.png" alt="Call URL output.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-style: italic;"&gt;The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 13:18:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/How-to-connect-to-an-FTP-SFTP-server-when-using-the-native-cloud/ta-p/1928285</guid>
      <dc:creator>Marius_Nuca</dc:creator>
      <dc:date>2024-03-08T13:18:24Z</dc:date>
    </item>
  </channel>
</rss>

