Your response

Hi Henerik,

        Thanks for your quick response to my mail. I have been trying to move 
forward with your suggestions and as yet not have been able to come up with a 
solution. In order to make things more clear I have below included an example of
what I am trying to do. I would appreciate if you could help me out.

 First of all I used the command line on my terminal to connect and download 
from a server using the POST method. The results are shown in a). below. After 
that I tried to use your tool (w3c) to perform the same operation. This is shown
in b). below.

The results of the w3c command are:

Read (100% of 1k)
Written(266% of 1k)
Written(100% of 1k)

The result is I did not receive any document. If the program gets the document 
where does it put it ?

In any case could you please tell me what am I doing wrong? I expect to fetch 
some document as a result of the w3c command. 

Also, how should I send the Content-type, Content-length and the query string? I
also tried adding content-type and Content-length headers to the file 

Thanks again for your time and effort.

Best Regards;

Poonam Mehtani.


a). Using the command line

     Input Session
daisy[1]/homes/mehtani>telnet www.ai.sri.com 
Trying ...
Connected to www.ai.sri.com.
Escape character is '^]'.
POST /cgi-bin/pubs/glimpse_to_html.pl HTTP/1.0 
Content-type: application/x-www-form-urlencoded 
Content-length: 28
response of input session from the server
HTTP/1.0 200 Document follows
Date: Wed, 27 Mar 1996 18:59:17 GMT
Server: NCSA/1.5
Content-type: text/html
<html> <head>
<LINK REV=made href=mailto:webmaster@www.ai.sri.com> 
<title>All Publications matching Year "1996"</title>
<BODY BGCOLOR="#FFFFFF"  text="#000000" link="#FF0000" vlink="#440000"> 
<IMG align=center SRC="/icons/srilogo.gif" ALT="SRI International"> 
<IMG align=center SRC="/icons/aic.gif" ALT="Artificial Intelligence Center"> 
<h2>All Publications matching Year "1996"</h2>
<FORM type=ENTRY size=30 method=POST action="/cgi-bin/pubs/glimpse_to_html.pl"> 
<img src="/icons/redball.gif"> <b>Search</b>
<SELECT name="field_name">
<OPTION>Any Field
</SELECT> in <SELECT name="doc_type"> 
<OPTION SELECTED>All Publications
<OPTION>Technical Notes
</SELECT> and display <SELECT name="display_type"> 
<OPTION SELECTED>in Standard Form
<OPTION>in Compact Form
<OPTION>in Edit Form
<OPTION>in BibTeX Form
<br><INPUT NAME="pattern" VALUE="1996" SIZE=45></INPUT>
<INPUT TYPE=submit VALUE=submit> (<a href="/pubs/search-help.html">Search 
  <P> P. Fua, <A
">"From Multiple Stereo Views to Multiple 3--D Surfaces,"</A> <I>International 
Journal of Computer Vision</I>, <b>1996</b>. Accepted for publication, available
as Tech Note 550, Artificial Intelligence Center, SRI International. 
<BLOCKQUOTE><B>Abstract: </B>We present a framework for 3--D surface 
reconstruction that can be used to model fully 3--Dimensional scenes from an 
arbitrary number of stereo views taken from vastly different viewpoints. This is
a key step toward producing 3--D world-descriptions of complex scenes using 
stereo and is a very challenging problem: real-world scenes tend to contain many
3--D objects, they do not usually conform to the 2-1/2--D assumption made by 
traditional algorithms, and one cannot take it for granted that the computed 
3--D points can easily be clustered into separate groups. Furthermore, stereo 
data is often incomplete and sometimes erroneous,!
 which makes the problem even m
<STRONG><IMG SRC="/icons/back.xbm" ALT="Back to"> 
<A HREF="/pubs/">AIC Publications Page</A> |
<A HREF="/">AIC Home Page</A></STRONG> 
<font size=2>
</body> </html>
Connection closed by foreign host.

     b). Using the w3c tool
     Input Session
     I tried the following using Command Line Tool to retrieve the above 
w3c -post query.txt -dest http://www.ai.sri.com/pubs/glimpse_to_html.pl
where the file query.txt contains the query string: 
     Results of the w3c command
     Read (100% of 1k)
     Written(266% of 1k)
     Written(100% of 1k)