cURL / Mailing Lists / curl-users / Single Mail


Re: Download head of file

From: Dan Fandrich <>
Date: Sun, 3 Sep 2006 14:03:49 -0700

On Sun, Sep 03, 2006 at 09:09:18PM +0300, Oleg Lomaka wrote:
> I develop a service where users enter an url and script should download
> this page to process. But one may enter the url of huge file I don't
> want to download. But it is need to view first few kbytes.

How about: curl | head -c 2048 ?

>>> Dan

--              The web change of address service
          Let webmasters know that your web site has moved
Received on 2006-09-03