Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How I get filesize in a HTTP server before download it? Please Help

Status
Not open for further replies.

sill000

Programmer
Oct 17, 2001
1
LT
How I get filesize in a HTTP server before download it? Please Help
 
If you are using the Twebbrowser and other components supplied with delphi, you have to download the web page before you have access to the objects in the web page and their sizes. You can get size of files and such from the object list. I cannot remember the details because it was a project I did about a year ago. Anyway look at the Twebbrowser and the .pas files (e.g ShowTBl.pas i think) for the functions available.

There are some components which are freeware and can download a web page for analysis. Some jest reads the HTML and you will have to parse it yorself.

try

for some of these components.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top