Take Command / TCC Help v. 13.04
WEBFORMNot in LE
Hide Navigation Pane
WEBFORMNot in LE
Previous topic Next topic No directory for this topic No expanding text in this topic  
WEBFORMNot in LE
Previous topic Next topic Topic directory requires JavaScript JavaScript is required for expanding text JavaScript is required for the print function Mail us feedback on this topic!  

Comments (...)

Purpose:POST data to interactive web pages or scripts.

 

Format:WEBFORM [/An /En /Fn /U"username" /O:headers" /P"password" /R"referer" /Tn /V] /W"url" "varname" "varvalue" ...

 

varnameForm variable
varvalueForm value

 

/An (authorization)/R(eferrer)
/En (encoding)/Tn (firewall)
/F (HTTP agent)/U(ser)
/L(ocal file)/V(erbose)
/O(ther headers)/W(eb URL)
/P(assword)

 

Usage:

 

WEBFORM will POST data to interactive web pages or scripts (CGI, ASP, etc.), similar to what HTML forms do.

 

WEBFORM will use the proxy & firewall settings from TCMD.INI.

 

Example:

 

webform /v /w"http://download.finance.yahoo.com/d/quotes.csv" "f", "sl1d1t1c1ohgv" "e", ".csv" "s", "IBM"

 

Options:

 

/AnAuthorization scheme:

 

0 - basic

1 - digest

2 - proprietary

3 - none

4 - NTLM

5 - Negotiate

 

/En Encoding:

 

0 (URLEncoding) This is the most common encoding for HTML form contents.

1 (MultipartFormData) This is MIME encoding allowing transmission of binary data.

2 (QueryString) This is an older form of encoding where the actual parameters are appended to the URL query string. (Generally not recommended because most servers limit the size of the URL to less than 1K or 2K).

 

/FEmail address of the HTTP agent.

 

/U"username"User name if authentication is to be used.

 

/P"password"Password if authentication is to be used.

 

/L"localfile"  Local file for downloading. If the file exists, it will be overwritten.

 

/O"headers"Other headers.  The headers must be of the format "header: value" as described in the HTTP specifications. Header lines should be separated by CR/LF (^r^n).

 

/R"referer"  The document referring the requested URL

 

/TnFirewall type:

 

0 - no firewall (default)

1 - Connect through a tunneling proxy.  Port is set to 80.

2 - Connect through a SOCKS4 proxy.  Port is set to 1080.

3 - Connect through a SOCKS5 proxy.  Port is set to 1080.

 

/VDisplay retrieved document text

 

/W"url"URL of web page

 

 

Comments (...)