> 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

Reply via email to