ok for the third point, grabbing the content-lenght is a good reason.

sending you a pm then, i already know much about the curl lib and the manual but dont get you about the stream...
musa Reviewed by musa on . how to curl and proxy download hey, i would like to know how this ( shimory DOT com ) works TECHNICALLY. i suppose first layer is cURL in order to grab the cookie and the downloading link (like http//srv43.fil3s0n1c.com/ef4888/dfeee/file.zip). but HOW is it possible to make the visitor download the file INSTANTLY (shimory does not even grabs the file through like wget() but deservs it immediatly to the visitor, kind of proxy, with a link like http://serv02.sh1m0ry.com/yourfiledearvisitor.zip). i would like to know how to Rating: 5