<?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 create a JMP script that pulls data from multiple directories using FTP? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-create-a-JMP-script-that-pulls-data-from-multiple/m-p/10498#M10168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;JMP 11 has another way to use programs like FTP, see &lt;A _jive_internal="true" href="https://community.jmp.com/blogs/Uncharted/2015/01/16/control-ftp-from-jmp-with-jsl"&gt;this post&lt;/A&gt; on the RunProgram function which lets you control command line programs by sending them commands from JSL and reading their output with JSL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to jara95 for the hint on the FTP options and commands...I needed that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Jan 2015 13:18:36 GMT</pubDate>
    <dc:creator>Craige_Hales</dc:creator>
    <dc:date>2015-01-16T13:18:36Z</dc:date>
    <item>
      <title>How to create a JMP script that pulls data from multiple directories using FTP?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-create-a-JMP-script-that-pulls-data-from-multiple/m-p/10495#M10165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a JMP script that would connect to an FTP server and then pull in datasets from multiple directories.&amp;nbsp; Using the File &amp;gt; Open Internet, I have been able to connect to the FTP server and view it as a web page but I am limited to only the Home directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question is, is it possible to create a JMP script that connects to an FTP server and then navigate to pre-defined directories to pull in data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 19:27:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-create-a-JMP-script-that-pulls-data-from-multiple/m-p/10495#M10165</guid>
      <dc:creator>chadw</dc:creator>
      <dc:date>2015-01-09T19:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a JMP script that pulls data from multiple directories using FTP?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-create-a-JMP-script-that-pulls-data-from-multiple/m-p/10496#M10166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your JMP program runs in Windows, you can create the FTP script and run it using JSL.&lt;/P&gt;&lt;P&gt;Below the JSL example copies all files having names starting with FILE_NAME in the FTP directory using &lt;EM&gt;mget&lt;/EM&gt; command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ftp_txt="&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;\!nopen 192.168.1.10&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;\!nuser FTP_USER_ID PASSWORD&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;\!nftp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;\!ncd FOLDER/LOCATION/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;\!nlcd C:\LOCAL\FOLDER&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;\!nprompt&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;\!nmget FILE_NAME*&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;\!nbye&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;\!n&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;save text file("c:\test.ftp",ftp_txt);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;cmd_txt = "ftp -v -n -s:c:\test.ftp";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;save text file("c:\jmp_ftp.bat",cmd_txt);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;wait(1);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;open("c:\jmp_ftp.bat");&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 15:08:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-create-a-JMP-script-that-pulls-data-from-multiple/m-p/10496#M10166</guid>
      <dc:creator>jara95</dc:creator>
      <dc:date>2015-01-15T15:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a JMP script that pulls data from multiple directories using FTP?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-create-a-JMP-script-that-pulls-data-from-multiple/m-p/10497#M10167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for this solution jara95!&amp;nbsp; It is kind of round-about way of going about it, but it definitely works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 19:40:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-create-a-JMP-script-that-pulls-data-from-multiple/m-p/10497#M10167</guid>
      <dc:creator>chadw</dc:creator>
      <dc:date>2015-01-15T19:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a JMP script that pulls data from multiple directories using FTP?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-create-a-JMP-script-that-pulls-data-from-multiple/m-p/10498#M10168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;JMP 11 has another way to use programs like FTP, see &lt;A _jive_internal="true" href="https://community.jmp.com/blogs/Uncharted/2015/01/16/control-ftp-from-jmp-with-jsl"&gt;this post&lt;/A&gt; on the RunProgram function which lets you control command line programs by sending them commands from JSL and reading their output with JSL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to jara95 for the hint on the FTP options and commands...I needed that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 13:18:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-create-a-JMP-script-that-pulls-data-from-multiple/m-p/10498#M10168</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2015-01-16T13:18:36Z</dc:date>
    </item>
  </channel>
</rss>

