<?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: Web File Connection Issue in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Web-File-Connection-Issue/m-p/1802342#M8854</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;You can use a variable there, just little preparation is needed.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;let dateString = date(today(),'YYYYMMDD');
let connStringBase = 'https://Servername:5555/data?paramsHere'; 
let connStringBase = connStringBase &amp;amp; '&amp;amp;remotePath=%2fABC%2f' &amp;amp; dateString &amp;amp;'.bcp';

ftp:
load * from [$(connStringBase)];

// I dont remember the full syntax of connector usage in qs&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's one thing in the&amp;nbsp;loadAccessToken value. Last character is a singlequote sign. Is it a copy/paste here issue or is it a part of value ? Creating a connStringBase will require concatenatation of chr(39) function to have a singlequote char in the value.&lt;/P&gt;</description>
    <pubDate>Sat, 24 Apr 2021 07:07:34 GMT</pubDate>
    <dc:creator>mfchmielowski</dc:creator>
    <dc:date>2021-04-24T07:07:34Z</dc:date>
    <item>
      <title>Web File Connection Issue</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Web-File-Connection-Issue/m-p/1802311#M8851</link>
      <description>&lt;P&gt;We are using a FTP site to extract data . We are using Qlik Web Connectors to generate the link for us to add to Qlik Sense. We created a webfile connection like below&lt;/P&gt;&lt;P&gt;https://Servername:5555/data?connectorID=FileTransferConnector&amp;amp;table=FTPGetRawFile&amp;amp;host=somewebsite&amp;amp;ftpMode=FtpSslExplicit&amp;amp;port=21&amp;amp;userName=ABC&amp;amp;password=ABC%3acR478q%2fDtZgo4He2hJkrzw%3d%3d%3aMXvcdPg8ppnj2pnaB6%2frdQ%3d%3d&amp;amp;ignoreProxy=False&amp;amp;ignoreClientCertificateErrors=False&amp;amp;remotePath=%2fABC%2f&lt;FONT face="arial black,avant garde"&gt;20180813&lt;/FONT&gt;.bcp&amp;amp;appID=&amp;amp;loadAccessToken=Yd1hypk6VP'&lt;/P&gt;&lt;P&gt;It works fine. but we would like to make that connection dynamic meaning '20180813' above should be replaced by&amp;nbsp;&lt;/P&gt;&lt;P&gt;date(today(),'YYYYMMDD')&amp;nbsp;&lt;/P&gt;&lt;P&gt;How I can accomplish this cuz in the web file connector I can't add a variable.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 19:41:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Web-File-Connection-Issue/m-p/1802311#M8851</guid>
      <dc:creator>Rehan</dc:creator>
      <dc:date>2021-04-23T19:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Web File Connection Issue</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Web-File-Connection-Issue/m-p/1802342#M8854</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;You can use a variable there, just little preparation is needed.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;let dateString = date(today(),'YYYYMMDD');
let connStringBase = 'https://Servername:5555/data?paramsHere'; 
let connStringBase = connStringBase &amp;amp; '&amp;amp;remotePath=%2fABC%2f' &amp;amp; dateString &amp;amp;'.bcp';

ftp:
load * from [$(connStringBase)];

// I dont remember the full syntax of connector usage in qs&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's one thing in the&amp;nbsp;loadAccessToken value. Last character is a singlequote sign. Is it a copy/paste here issue or is it a part of value ? Creating a connStringBase will require concatenatation of chr(39) function to have a singlequote char in the value.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Apr 2021 07:07:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Web-File-Connection-Issue/m-p/1802342#M8854</guid>
      <dc:creator>mfchmielowski</dc:creator>
      <dc:date>2021-04-24T07:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Web File Connection Issue</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Web-File-Connection-Issue/m-p/1802375#M8855</link>
      <description>&lt;P&gt;Can do the from statement without the Data connection name in Standard mode in Qlik Sense&lt;/P&gt;</description>
      <pubDate>Sat, 24 Apr 2021 14:00:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Web-File-Connection-Issue/m-p/1802375#M8855</guid>
      <dc:creator>Rehan</dc:creator>
      <dc:date>2021-04-24T14:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Web File Connection Issue</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Web-File-Connection-Issue/m-p/1802376#M8856</link>
      <description>&lt;P&gt;I meant&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;Can't&lt;/STRONG&gt; do the from statement without the Data connection name in Standard mode in Qlik Sense&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Apr 2021 14:00:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Web-File-Connection-Issue/m-p/1802376#M8856</guid>
      <dc:creator>Rehan</dc:creator>
      <dc:date>2021-04-24T14:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Web File Connection Issue</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Web-File-Connection-Issue/m-p/1802488#M8862</link>
      <description>&lt;P&gt;Finally resolved it. Below are the steps.&lt;/P&gt;&lt;P&gt;Create a Web file connection using the base URL '&lt;A href="https://companyname.domain.com:5555/" target="_blank"&gt;https://companyname.domain.com:5555/&lt;/A&gt;'&lt;/P&gt;&lt;P&gt;Let vDate=date(today(),'YYYYMMDD');&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;@1,&lt;BR /&gt;@2,&lt;BR /&gt;@3,&lt;BR /&gt;@4,&lt;BR /&gt;@5,&lt;BR /&gt;@6&lt;BR /&gt;FROM [lib://Data-Connection]&lt;BR /&gt;(url is '&lt;A href="https://companyname.domain.com:5555/data?connectorID=FileTransferConnector&amp;amp;table=FTPGetRawFile&amp;amp;host=itas-reports.nih.gov&amp;amp;ftpMode=FtpSslExplicit&amp;amp;port=21&amp;amp;userName=Username&amp;amp;password=admin%3acR478q%2fDtZgo4He2hJkrzw%3d%3d%3aMXvcdPg8ppnj2pnaB6%2frdQ%3d%3d&amp;amp;ignoreProxy=False&amp;amp;ignoreClientCertificateErrors=False&amp;amp;remotePath=%2fTest%2f$(vDate).bcp&amp;amp;appID=&amp;amp;loadAccessToken=Yd1hypk6VP" target="_blank"&gt;https://companyname.domain.com:5555/data?connectorID=FileTransferConnector&amp;amp;table=FTPGetRawFile&amp;amp;host=itas-reports.nih.gov&amp;amp;ftpMode=FtpSslExplicit&amp;amp;port=21&amp;amp;userName=Username&amp;amp;password=admin%3acR478q%2fDtZgo4He2hJkrzw%3d%3d%3aMXvcdPg8ppnj2pnaB6%2frdQ%3d%3d&amp;amp;ignoreProxy=False&amp;amp;ignoreClientCertificateErrors=False&amp;amp;remotePath=%2fTest%2f$(vDate).bcp&amp;amp;appID=&amp;amp;loadAccessToken=Yd1hypk6VP&lt;/A&gt;',&lt;BR /&gt;txt, codepage is 28591, no labels, delimiter is '\t', msq);&lt;/P&gt;</description>
      <pubDate>Sun, 25 Apr 2021 22:24:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Web-File-Connection-Issue/m-p/1802488#M8862</guid>
      <dc:creator>Rehan</dc:creator>
      <dc:date>2021-04-25T22:24:47Z</dc:date>
    </item>
  </channel>
</rss>

