software products and customization
Contact: support@xuebrothers.net Home Page

WebCC


WebCC means Web Client Console. It is a command line program for sending request to a Web server and get the response from it. WebCC is implemented on Win32 socket layer with the C/C++ programming language, small in size, only about 70 KB. Also, WebCC does not depend upon any other components but a bare Win32 system (Windows 95 and above).

We also has an ActiveX control that has the same functions. It is here: ActiveWEBC

Use WebCC

Command Line Syntax

WebCC method host path [/switch 1] .. [/switch n]

Required Arguments
1 method One of HTTP request methods: GET, HEAD, POST..
2 host The domain name of the web server. For example, www.xuebrothers.net
2 path The request URI. For example, /cgi-bin/my.cgi
Switches
NameNotesExamples
/head Add a request header entry. Can be repeated for multiple entries /head:Accept=text/html; */*
/formfile Add a form entry of file type. Can be repeated for multiple files /formfile:file1=abc.doc
/formtext Add a form entry of text type. Can be repeated for multiple text entries /formfile:password=1234567
/ssl Use SSL (typically https). Default is false /ssl:yes
/silent Don't print program executing status on screen. Default is false /silent:yes
/printhead Print response header on screen. Default is true /printhead:yes
/printbody Print response body on screen. If the response body is not of text/* or message/*, this switch will be ignored. Default is true. /printbody:yes
/savehead Save response header to a local file. No default /savehead:header.txt
/savebody Save response body to a local file. No default /savebody:body.dat
Example
webcc POST www.xuebrothers.net /cgi-bin/upload_test.cgi /formtext:name=xue /formtext:password=12345 /formfile:file1=d:\temp\a.txt /formfile:file2=d:\temp\b.zip

The above command line posts 2 text items and two file items to a CGI program on xuebrothers.net. The CGI program is specially written for testing purpose. Here are source codes of the CGI, and below is the screenshot of the command window.

Buy WebCC

Click the button below the make the payment at PayPal. Within 24 hours after notified by PayPal of your payment, we will send you the licensed copy.

Individual License, USD 28.0:     
Business License, USD 75.0: