HttpPutFile command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
<span class="f_Para">Attempts an HTTP PUT file upload of the file you specify to the URL you specify.</span>
<span class="f_Para">Attempts an HTTP PUT file upload of the file you specify to the URL you specify.</span>


<span class="f_Para">Useful for testing the </span><span class="f_ListContinue">[[configure_test_browser.html#pacfile|Proxy Auto Config (PAC) file]]</span><span class="f_Para"> feature. </span>
<span class="f_Para">Useful for testing the </span><span class="f_ListContinue">[[Configure web browser (Janus Debugger only)#Using the Client as proxy exclusively for designated addresses|Proxy Auto Config (PAC) file]]</span><span class="f_Para"> feature. </span>


'''Syntax:'''  
'''Syntax:'''  
Line 12: Line 12:
<p class="syntax">httpPutFile ''file'' ''url''</p>
<p class="syntax">httpPutFile ''file'' ''url''</p>


<span class="f_Para">where the Client searches first for </span>''file''<span class="f_Para"> in the Client's [[customize_debugger_cfg_file.html#workfile_cfg|work files]]. </span>
<span class="f_Para">where the Client searches first for </span>''file''<span class="f_Para"> in the Client's [[Customize debuggerConfig file#Alternative locations for Client files|work files]]. </span></p>


<span class="f_Para">For example: </span>
<span class="f_Para">For example: </span>


<span class="f_CodeExampleTable" style="font-size: 12px;">httpPutFile debuggerInternalPac.js</span><br />
<p class="syntax"><span class="f_CodeExampleTable" style="font-size: 12px;">httpPutFile debuggerInternalPac.js</span><br />
<span class="f_CodeExampleTable" style="font-size: 12px;">http://sirius.sirius-software.com:9292/pacman/PAC.172.16.60.38.JS</span>
<span class="f_CodeExampleTable" style="font-size: 12px;">http://sirius.sirius-software.com:9292/pacman/PAC.172.16.60.38.JS</span>


Line 23: Line 23:
<p class="syntax">HTTP PUT file upload completed. </p>
<p class="syntax">HTTP PUT file upload completed. </p>


<span class="f_Para">See also </span><span class="f_Monospace">[[HttpPutString command|httpPutString]]</span><span class="f_Para">, </span><span class="f_Monospace">[[HttpGet command|httpGet]]</span><span class="f_Para">, </span><span class="f_Monospace">[[RetryHttpPac command|retryHttpPac]]</span><span class="f_Para">, and </span><span class="f_Monospace">[[currentpacfile_function.html|&amp;&amp;currentPacFile]]</span><span class="f_Para">. </span>
<span class="f_Para">See also </span><span class="f_Monospace">[[HttpPutString command|httpPutString]]</span><span class="f_Para">, </span><span class="f_Monospace">[[HttpGet command|httpGet]]</span><span class="f_Para">, </span><span class="f_Monospace">[[RetryHttpPac command|retryHttpPac]]</span><span class="f_Para">, and </span><span class="f_Monospace">[[&&currentPacFile|&amp;&amp;currentPacFile]]</span><span class="f_Para">. </span>
|-
|-
| '''Client menu:'''
| '''Client menu:'''
Line 32: Line 32:
|}
|}


[[Catgory:Debugger Commands]]
[[Category:Debugger Commands]]

Latest revision as of 01:12, 23 May 2023

Action:

Attempts an HTTP PUT file upload of the file you specify to the URL you specify.

Useful for testing the Proxy Auto Config (PAC) file feature.

Syntax:

httpPutFile file url

where the Client searches first for file in the Client's work files.

For example:

httpPutFile debuggerInternalPac.js
http://sirius.sirius-software.com:9292/pacman/PAC.172.16.60.38.JS The Client Status bar reports on the result of the command; for example, a message like:

HTTP PUT file upload completed. 

See also httpPutString, httpGet, retryHttpPac, and &&currentPacFile.

Client menu: --
Introduced: Build 63