<?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 回复： Multi HTTP Request function of &amp;quot;JMP 17&amp;quot;, can you change the location of each downloaded temporary file? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Multi-HTTP-Request-function-of-quot-JMP-17-quot-can-you-change/m-p/581875#M78861</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;http_requests = requests &amp;lt;&amp;lt; Get Requests();
data = requests &amp;lt;&amp;lt; Download( "show progress", "detailed" );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;This data is a list of temporary files that have been downloaded and can be combined into one large file with code.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Dec 2022 12:25:43 GMT</pubDate>
    <dc:creator>lala</dc:creator>
    <dc:date>2022-12-15T12:25:43Z</dc:date>
    <item>
      <title>Multi HTTP Request function of "JMP 17", can you change the location of each downloaded temporary file?</title>
      <link>https://community.jmp.com/t5/Discussions/Multi-HTTP-Request-function-of-quot-JMP-17-quot-can-you-change/m-p/581874#M78860</link>
      <description>&lt;P&gt;I tried to do a Multi HTTP Request with the following code, which defaults to&lt;/P&gt;&lt;P&gt;C:\Users\Administrator\AppData\Local\Temp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;How to modify JSL to change this temporary folder to another path?&lt;BR /&gt;Or even save the data directly in memory.&lt;BR /&gt;When the Multi HTTP Request is complete, combine the temporary files into one file one by one?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 16:04:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Multi-HTTP-Request-function-of-quot-JMP-17-quot-can-you-change/m-p/581874#M78860</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2023-06-09T16:04:50Z</dc:date>
    </item>
    <item>
      <title>回复： Multi HTTP Request function of "JMP 17", can you change the location of each downloaded temporary file?</title>
      <link>https://community.jmp.com/t5/Discussions/Multi-HTTP-Request-function-of-quot-JMP-17-quot-can-you-change/m-p/581875#M78861</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;http_requests = requests &amp;lt;&amp;lt; Get Requests();
data = requests &amp;lt;&amp;lt; Download( "show progress", "detailed" );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;This data is a list of temporary files that have been downloaded and can be combined into one large file with code.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 12:25:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Multi-HTTP-Request-function-of-quot-JMP-17-quot-can-you-change/m-p/581875#M78861</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2022-12-15T12:25:43Z</dc:date>
    </item>
    <item>
      <title>回复： Multi HTTP Request function of "JMP 17", can you change the location of each downloaded temporary file?</title>
      <link>https://community.jmp.com/t5/Discussions/Multi-HTTP-Request-function-of-quot-JMP-17-quot-can-you-change/m-p/582227#M78878</link>
      <description>&lt;P&gt;Using the example in the Scripting index:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
requests = New Multi HTTP Request();
requests &amp;lt;&amp;lt; Add(
	New HTTP Request(
		Method( "GET" ),
		URL(
			"http://cdimage.ubuntu.com/lubuntu/releases/20.04.3/release/lubuntu-20.04.3-desktop-amd64.iso"
		)
	)
);

requests &amp;lt;&amp;lt; Add(
	New HTTP Request(
		Method( "GET" ),
		URL( "http://downloads.sourceforge.net/clonezilla/clonezilla-live-2.7.3-19-amd64.iso" )
	)
);

data = requests &amp;lt;&amp;lt; Download( "show progress", "detailed", &lt;STRONG&gt;{"$Desktop/lubuntu.iso", "$Desktop/clonezilla.iso"}&lt;/STRONG&gt; );
http_requests = requests &amp;lt;&amp;lt; Get Requests();
For( i = 1, i &amp;lt;= N Items( http_requests ), i++,
	Show( http_requests[i] &amp;lt;&amp;lt; Get Mime Type() )
);			                 
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I added:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;CODE class=" language-jsl"&gt;&lt;STRONG&gt;{"$Desktop/lubuntu.iso", "$Desktop/clonezilla.iso"}&lt;/STRONG&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE class=" language-jsl"&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;This&amp;nbsp;will&amp;nbsp;download&amp;nbsp;the&amp;nbsp;2&amp;nbsp;different&amp;nbsp;requests&amp;nbsp;to&amp;nbsp;the&amp;nbsp;2&amp;nbsp;locations.&amp;nbsp;The&amp;nbsp;default&amp;nbsp;is&amp;nbsp;$TEMP&amp;nbsp;(of&amp;nbsp;course).&lt;/P&gt;
&lt;P&gt;Additionally, when you Add the request to the MutiHTTPRequest, you can give an optional label. If no filenames are specified in Download then it will use the label to create a file in $TEMP.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 20:09:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Multi-HTTP-Request-function-of-quot-JMP-17-quot-can-you-change/m-p/582227#M78878</guid>
      <dc:creator>bryan_boone</dc:creator>
      <dc:date>2022-12-15T20:09:58Z</dc:date>
    </item>
  </channel>
</rss>

