hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sljm12 <slj...@singnet.com.sg>
Subject retreving file size and file name
Date Mon, 13 Nov 2006 06:06:21 GMT
Hi all, have 2 questions.

Some background, I am writing a simple downloader that uses regular expressions to download
files from a forum.

1. How do i retrieve the file size of the file that i am downloading?

2. The forum uses php, and the link to the files are usually something like "http://www.insertservername.com/attachment.php?123013"
using a web browser for downloads the brower is able to know the resultant file name, how
do i do that in HttpClient?

Pretty new to HttpClient and will appreciate any help.


To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org

View raw message