cURL / Mailing Lists / curl-library / Single Mail

curl-library

httpput.c

From: Parvinder Singh Arora <psarora_at_gmail.com>
Date: Thu, 29 Jun 2006 17:59:29 -0400

I have a URL which takes files using curl -iT option but when i try to do
the same with httpput.c i see the messages of reading the file but it hangs
at the end

* About to connect() to 172.16.31.60 port 80
* Trying 172.16.31.60... * connected
* Connected to 172.16.31.60 (172.16.31.60) port 80
> PUT /fcfs_data/users/Parvinder/c.txt HTTP/1.1
Host: 172.16.31.60
Accept: */*
Content-Length: 154619015241
Expect: 100-continue

< HTTP/1.1 100 Continue
*** We read 16384 bytes from file
*** We read 16384 bytes from file
*** We read 16384 bytes from file
*** We read 16384 bytes from file
*** We read 16384 bytes from file
*** We read 16384 bytes from file
*** We read 16384 bytes from file
*** We read 16384 bytes from file
*** We read 16384 bytes from file
*** We read 16384 bytes from file
*** We read 16384 bytes from file
*** We read 12361 bytes from file
*** We read 0 bytes from file

As i said the same thing works perfectly with curl -iT option

Anything that i am missing? curl -iT does the same thing ..just that it
includes the header information along with a file put

-- 
~Parvinder
"Consider calling it a challenge rather than calling it a crisis."
Received on 2006-06-30