<?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: File Exists () - can this work with HTML path? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/File-Exists-can-this-work-with-HTML-path/m-p/15742#M14399</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can get the results you need by using a Load Text File function and if it can not load it, the result will be a missing value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DoesItExist = Try(Load Text File(&lt;STRONG style="font-family: Courier New;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="color: #800080; font-size: 10pt; font-family: Courier New;"&gt;"html://mycompanyserver.com/mypath/test.jsl"&lt;/SPAN&gt;&lt;STRONG style="font-size: 10pt; font-family: Courier New;"&gt;));&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt; font-family: Courier New;"&gt;If(char(DoesItExist) == ".", ....................);&lt;BR /&gt;&lt;/STRONG&gt;&lt;STRONG style="font-size: 10pt; font-family: Courier New;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Dec 2015 17:36:33 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2015-12-03T17:36:33Z</dc:date>
    <item>
      <title>File Exists () - can this work with HTML path?</title>
      <link>https://community.jmp.com/t5/Discussions/File-Exists-can-this-work-with-HTML-path/m-p/15741#M14398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are there any tricks to get File Exists() to work with an internal html path (internal meaning a network drive represented as an html path and not UNC path)? &lt;/P&gt;&lt;P&gt;So far I cannot get it to recognize a file path that exists using the html path representation like below.&amp;nbsp; Are there any tricks to make this work or some other file check related command perhaps?&amp;nbsp; DJ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000dd; font-size: 10pt; font-family: Courier New;"&gt;file exists&lt;/SPAN&gt;&lt;STRONG style=": ; font-size: 10pt; font-family: Courier New;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="color: #800080; font-size: 10pt; font-family: Courier New;"&gt;"p:\\mypath\test.jsl"&lt;/SPAN&gt;&lt;STRONG style=": ; font-size: 10pt; font-family: Courier New;"&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 10pt; font-family: Courier New;"&gt;//UNC path works (can find the JSL that exists)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000dd; font-size: 10pt; font-family: Courier New;"&gt;file exists&lt;/SPAN&gt;&lt;STRONG style=": ; font-size: 10pt; font-family: Courier New;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="color: #800080; font-size: 10pt; font-family: Courier New;"&gt;"html://mycompanyserver.com/mypath/test.jsl"&lt;/SPAN&gt;&lt;STRONG style=": ; font-size: 10pt; font-family: Courier New;"&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 10pt; font-family: Courier New;"&gt;//HTML path does not work (cannot find the JSL that exists)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 17:06:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/File-Exists-can-this-work-with-HTML-path/m-p/15741#M14398</guid>
      <dc:creator>djhanson</dc:creator>
      <dc:date>2015-12-03T17:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: File Exists () - can this work with HTML path?</title>
      <link>https://community.jmp.com/t5/Discussions/File-Exists-can-this-work-with-HTML-path/m-p/15742#M14399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can get the results you need by using a Load Text File function and if it can not load it, the result will be a missing value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DoesItExist = Try(Load Text File(&lt;STRONG style="font-family: Courier New;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="color: #800080; font-size: 10pt; font-family: Courier New;"&gt;"html://mycompanyserver.com/mypath/test.jsl"&lt;/SPAN&gt;&lt;STRONG style="font-size: 10pt; font-family: Courier New;"&gt;));&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt; font-family: Courier New;"&gt;If(char(DoesItExist) == ".", ....................);&lt;BR /&gt;&lt;/STRONG&gt;&lt;STRONG style="font-size: 10pt; font-family: Courier New;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 17:36:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/File-Exists-can-this-work-with-HTML-path/m-p/15742#M14399</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2015-12-03T17:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: File Exists () - can this work with HTML path?</title>
      <link>https://community.jmp.com/t5/Discussions/File-Exists-can-this-work-with-HTML-path/m-p/15743#M14400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another option is to map the network drive to Z: (or whatever).&amp;nbsp; The caution here is that different individuals in your company may have their network drives mapped differently (or not at all).&amp;nbsp; If you have a good IT department they should have already standardized this and it shouldn't be an issue.&amp;nbsp; Regardless, if this is for scripts you are only running on your computer there shouldn't be an issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10589_pastedImage_0.png" style="width: 234px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/2476i686EC6C44659D8E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10589_pastedImage_0.png" alt="10589_pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 01:18:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/File-Exists-can-this-work-with-HTML-path/m-p/15743#M14400</guid>
      <dc:creator>msharp</dc:creator>
      <dc:date>2016-10-19T01:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: File Exists () - can this work with HTML path?</title>
      <link>https://community.jmp.com/t5/Discussions/File-Exists-can-this-work-with-HTML-path/m-p/15744#M14401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An additional word of caution on using a Mapped Network drive, the file that you are testing for are on a web server.&amp;nbsp; They may not be on a server that supports MS Windows Mapping access.&amp;nbsp; At my company, Linux is used for the web servers, without any Samba(Windows file services emulator) installed.&amp;nbsp; So the method I previously specified is what I had to use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 15:58:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/File-Exists-can-this-work-with-HTML-path/m-p/15744#M14401</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2015-12-04T15:58:25Z</dc:date>
    </item>
  </channel>
</rss>

