cURL / Mailing Lists / curl-users / Single Mail

curl-users

curl: (56) Failure when receiving data from the peer

From: Wm.A.Stafford <stafford_at_marine.rutgers.edu>
Date: Tue, 04 Aug 2009 13:57:33 -0400

I am using curl to get a very large document, ~2.5MB, from a web
service. curl always exits with the message: "curl: (56) Failure when
receiving data from the peer" before the complete document has been
obtained.

The total and received columns usually contain 1046k when this happens
but it has happened at least once when the columns contained 694k.

A web search based on the error message did not tell me much. Does
anyone know what is going on in this situation?

Wm.A.Stafford

The Institute of Marine and Coastal Sciences
Rutgers University
732-932-6555 x367
stafford_at_marine.rutgers.edu
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-08-04