On Wed, May 7, 2008 at 4:49 PM, Gurpreet Sachdeva <[EMAIL PROTECTED]> wrote: > Is there a way in urllib to check file size (from the webserver) before > downloading it? Or any other python module from this?
Just do a HEAD http request and check the content-length header of the server's http response. -- Vinayak -- http://www.linkedin.com/in/VinayakH _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers