キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
言語を選択 翻訳バーを非表示
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件の返信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));

おすすめの記事