How to know if a web page/file is downloaded completely

This is a discussion on How to know if a web page/file is downloaded completely within the Linux Networking forums, part of the Linux Forums category; Hello, Hope this is the right group for this question. As my earlier posts, we developed a packet sniffer. We ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-15-2007
Sonny
 
Posts: n/a
Default How to know if a web page/file is downloaded completely

Hello,
Hope this is the right group for this question. As my earlier posts,
we developed a packet sniffer. We are interested in listening to http
packets and extract its header because we need specific values from
it. Just need some advice and clarifications for doing this. How do we
know that the web page or a file from the web server was successfully
downloaded? Is it by just looking for the 200 OK status? If that is
the case, how about web pages that are big, it will have several
packets with 200 OKs. What packet should we be looking at? Another
thing is if we use the content-length header field to check the file
size. How do we actually compute for that(message body) since the
packet still contains the headers? Thanks in advance!
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:50 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0