size of downloaded resource

How does one obtain the size of a downloaded resource? The following always
yields zero: int size = reply.getContentLength();

Thanks,
Gil

----
Gil Hansen, Ph.D.                       email: gil@objs.com
Object Services & Consulting, Inc.      phone: 972-712-2705/2706 (FAX)	
http://www.objs.com			      http://www.objs.com/gil.htm

Received on Sunday, 21 December 1997 09:56:54 UTC