cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • DownloadSemiconductor Toolkit: Tools to create wafer maps, add wafer geometry to graphics, explore die defects & compare wafers.
  • Discovery Summit 2026: Early User Edition - September 23-24.Register. It's free.
  • Use JMP Clinical with CDISC-compliant data. Review studies, ID safety and efficacy signals & communicate findings with interactive graphics. Register to see how. Aug. 27, 2 pm US ET.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
lala
Level IX

This POST form of Multi download, download the result of the same file name, constantly covered, how to solve?

Multi downloads with JMP 17 get downloaded files, but all files with the same name, and only one last downloaded file.

Thanks!

2024-04-16_14-53-12.png

3 REPLIES 3
lala
Level IX

回复: This POST form of Multi download, download the result of the same file name, constantly covered, how to solve?

urls = {};
u = "https://apphq.ip.com/w1/api/index.php";
h = ["Content-Type" => "application/x-www-form-urlencoded; charset=UTF-8"];
d0 = Current Data Table();
For( j = 1, j <= 3, j++,
	gp = d0[j, "IP"];
	Insert Into(
		urls,
		"a=GetMainMonitor_Trend_w30&Money=0&apiv=w36&c=StockL2Data&StockID=" || gp ||
		"&PhoneOSNew=1&"
	);
);

requests = New Multi HTTP Request();
s0 = N Items( urls );
For( i = 1, i <= s0, i++,
	Try( rs = New HTTP Request( URL( u ), Method( "POST" ), JSON( urls[i] ), Headers( h ) ) );
	requests << Add( rs );
);
da = requests << Download( "show progress", "detailed" );

2024-04-16_14-58-35.png

jthi
Super User

Re: This POST form of Multi download, download the result of the same file name, constantly covered, how to solve?

lala
Level IX

Re: This POST form of Multi download, download the result of the same file name, constantly covered, how to solve?

OK、Thanks!

I forgot all about it.

 

requests<<Add(rs,"test"||char(i));

Recommended Articles