Welcome! Log In Create A New Profile

Advanced

HTTP/1.1 404 Not Found but status says 100% file transferred

August 06, 2013 06:01AM
Hi,

I am trying to do a PUT via CURL and below is a glimpse of the request:

[root@flex-c1 ~]# curl -o /dev/null -w "Connect:%{time_connect}\nTransfer Start:%{time_starttransfer}\nTotal Time:%{time_total}\n" -X PUT --data-binary @output.dat -qvk http://x.x.x.x:80/nginx/output.dat

* Connected to x.x.x.x port 80
> PUT /nginx/output.dat HTTP/1.1
> User-Agent: curl/7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
> Host: x.x.x.x
> Accept: */*
> Content-Length: 1073741824
> Content-Type: application/x-www-form-urlencoded
> Expect: 100-continue
>
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
97 1024M 0 0 97 997M 0 30.0M 0:00:34 0:00:33 0:00:01 29.9M
< HTTP/1.1 404 Not Found <<<<<
< Date: Tue, 06 Aug 2013 09:33:42 GMT
< Server: Apache
< Content-Length: 219
< Content-Type: text/html; charset=iso-8859-1
100 1024M 100 219 100 1024M 6 29.9M 0:00:36 0:00:34 0:00:02 29.6M
* Connection #0 to host x.x.x.x left intact

Connect:0.028
Transfer Start:2.027
Total Time:34.160
* Closing connection #0


It says it transferred 100% but then the error says 404 not found.. Wanted to know what the problem is here.

And the file did not make it through to the destination. I cross checked it.


Any help on this would be really great.

Thanks,
Rakshith
SubjectAuthorPosted

HTTP/1.1 404 Not Found but status says 100% file transferred

RakshithAugust 06, 2013 06:01AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 71
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 184 on July 08, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready