Getting Content-Length

Giganews Newsgroups
Subject: Getting Content-Length
Posted by:  -Mr. Coder- (FelixLelch…@freenet.de)
Date: Sat, 3 Apr 2004

Hi,

do someone know, how to get the Content-Length (Size) of a file located on a
HTTP server (without downloading the whole file!) ?
I'd like to stop downloading after the header has been received.
I use TIdHTTP (Indy 9)

Thanks in advance

-Mr. Coder-

Replies