Purpose:Upload files to RFC1867-compliant web servers

 

Format:WEBUPLOAD [/An /En /F"from" /IPV6 /L"file" /O"headers" /U"username" /P"password" /R"referer" /V] /W"url" [/V "varname" "varvalue"] "filevar" "filename" ...

 

varnameForm variable
varvalueForm value
filevarThe file(s) to extract
filenameThe file(s) to upload

 

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

 

Usage:

 

WEBUPLOAD will use the proxy & firewall settings from TCMD.INI. WEBUPLOAD will support either HTTP or HTTPS (SSL) connections.

 

Options:

 

/AnAuthorization scheme:

 

0 - basic

1 - digest

2 - proprietary

3 - none

4 - NTLM

5 - Negotiate

 

/EnEncoding:

 

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).

 

/F"from"Email address of the HTTP agent.

 

/IPv6Use IPv6 instead of IPv4.

 

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

 

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

 

/L"localfile"
Local file to upload.

 

/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.

 

/VThe following two arguments are a varname / varvalue pair.

 

/W"url"URL of web page