It works.
Thanks Fran├žois && SZ 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Francois PIETTE
> Sent: Monday, August 06, 2007 6:06 PM
> To: ICS support mailing
> Subject: Re: [twsocket] File size
> 
> > I'm ising THttpCli component to download a file.
> > Before I call the Get method, is there a solution to know 
> the file size ?
> 
> Use Head method and check ContentLength property. If -1, then 
> the server doesn't send document size and you have no way to 
> know the size without downloading it.
> 
> --
> [EMAIL PROTECTED]
> The author of the freeware multi-tier middleware MidWare The 
> author of the freeware Internet Component Suite (ICS) 
> http://www.overbyte.be
> --
> To unsubscribe or change your settings for TWSocket mailing 
> list please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
> 
> 
> __________ NOD32 2439 (20070806) Information __________
> 
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
> 
> 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to