<?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 Folder empty in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Folder-empty/m-p/472000#M71656</link>
    <description>&lt;P&gt;The script create the folder, but the folder is empty. I don't have the answer for that:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NetflixCrow956_0-1647959264751.png" style="width: 838px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/41025iE2AA191C1DC0889A/image-dimensions/838x378?v=v2" width="838" height="378" role="button" title="NetflixCrow956_0-1647959264751.png" alt="NetflixCrow956_0-1647959264751.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 18:14:00 GMT</pubDate>
    <dc:creator>NetflixCrow956</dc:creator>
    <dc:date>2023-06-09T18:14:00Z</dc:date>
    <item>
      <title>Folder empty</title>
      <link>https://community.jmp.com/t5/Discussions/Folder-empty/m-p/472000#M71656</link>
      <description>&lt;P&gt;The script create the folder, but the folder is empty. I don't have the answer for that:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NetflixCrow956_0-1647959264751.png" style="width: 838px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/41025iE2AA191C1DC0889A/image-dimensions/838x378?v=v2" width="838" height="378" role="button" title="NetflixCrow956_0-1647959264751.png" alt="NetflixCrow956_0-1647959264751.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 18:14:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Folder-empty/m-p/472000#M71656</guid>
      <dc:creator>NetflixCrow956</dc:creator>
      <dc:date>2023-06-09T18:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Folder empty</title>
      <link>https://community.jmp.com/t5/Discussions/Folder-empty/m-p/472039#M71658</link>
      <description>&lt;P&gt;There are 2 issues&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Your IF() function for saving the file, when the directory exists, has no action.&amp;nbsp;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;If( Directory Exists( path_save || DIR_NAME ),,	dt&amp;lt;&amp;lt; Save(path_save || DIR_NAME || "\" || DIR_NAME || ".jsl", Append) );&lt;/CODE&gt;&lt;/PRE&gt;
I believe what you want is
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;If( Directory Exists( path_save || DIR_NAME ),	dt&amp;lt;&amp;lt; Save(path_save || DIR_NAME || "\" || DIR_NAME || ".jsl", Append) );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/LI&gt;
&lt;LI&gt;The second issue is that you are attempting to save the data table(dt) as JSL.&amp;nbsp; Saving a data table using the Save() function only can be saved as .jmp, .xls, .slsx, .txt, .csv, .tsv, .sas7bdat, .xpt and .stx&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1647961809103.png" style="width: 686px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/41026i93A9D47ED4189431/image-dimensions/686x342?v=v2" width="686" height="342" role="button" title="txnelson_0-1647961809103.png" alt="txnelson_0-1647961809103.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 22 Mar 2022 15:10:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Folder-empty/m-p/472039#M71658</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-03-22T15:10:32Z</dc:date>
    </item>
  </channel>
</rss>

