予約済パラメーター名
FileName_
ファイルメーカーのファイル名を指定
scriptname_
ファイルメーカーのスクリプト名を指定
Pause_
ファイルメーカーのスクリプトを実行してからファイルを開くまでの待ち時間を指定
_fmp
llil_SetContents( Contents )でHttpMakerプラグイン内に設定したHTMLソースを返します。
_stop
HttpMakerを停止
※_fmp と _stop は、ルートパスのすぐ後ろに記述する必要があります。
http://localhost:81/_stop
http://localhost:81/_fmp
_download
ダウンロードを指定
Content-Disposition: attachment;
_download:filename=hoge.xml
ファイル名を指定してダウンロード
Content-Disposition: attachment;filename="hoge.xml"
例:表示ではなくダウンロードになります。
http://localhost:81/output.xml?_download
例:ファイル名を「hoge.xml」にしてダウンロード。
http://localhost:81/output.xml?_download:filename=hoge.xml
http://localhost:81/output.xml?FileName_=HttpListener&scriptname_=xml&Pause_=5&_download:filename=hoge.xml
例:
ファイルメーカーファイル「HttpListener.fp7」の
スクリプト「xml」を実行し、
5秒まってから[output.xml]を出力
http://localhost:81/output.xml?FileName_=HttpListener&scriptname_=xml&Pause_=5