Curl Error 52 Empty reply from server

Posted by Paul Sheldrake on Stack Overflow See other posts from Stack Overflow or by Paul Sheldrake
Published on 2009-12-17T20:41:02Z Indexed on 2010/06/17 15:03 UTC
Read the original article Hit count: 2414

Filed under:
|

Hello

I have a cron job setup on one server to run a backup script in PHP that is hosted on another server. The command I've been using is formatted like this:

curl -sS http://www.example.com/backup.php

Lately I've been getting this error when the Cron runs

curl: (52) Empty reply from server

I have no idea what this means. If I go to the link directly in my browser the script runs fine and I get my little backup zip file.

Can anyone help?

Thanks, Paul

© Stack Overflow or respective owner

Related posts about curl

Related posts about cron