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

**URL:** <https://www.ruby-forum.com/t/http-1-1-404-not-found-but-status-says-100-file-transferred/236114>\
**Category:** NGINX\
**Created:** [August 6, 2013, 12:01pm UTC](https://www.ruby-forum.com/t/http-1-1-404-not-found-but-status-says-100-file-transferred/236114 "2013-08-06T12:01:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alcina](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/a587f6/32.png) [@alcina](https://www.ruby-forum.com/u/alcina)\
**Post date:** [August 6, 2013, 12:01pm UTC](https://www.ruby-forum.com/t/http-1-1-404-not-found-but-status-says-100-file-transferred/236114/1 "2013-08-06T12:01:54Z")

</div>

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](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

Posted at Nginx Forum:

> **[HTTP/1.1 404 Not Found but status says 100% file transferred](https://forum.nginx.org/read.php?2,241631,241631#msg-241631)**
>
> 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...
