in reply to Re^2: How to download JUST the first X bytes of HTTP response ?
in thread How to download JUST the first X bytes of HTTP response ?
You're determined to make me do some real work, aren't you? :P
As a test, I hacked my crawler to download a single 20MB JPEG image from a remote http server and used tcpdump to view the network traffic. I tested this with and without the ExifTool FastScan option, and repeated the test a few times to make sure I wasn't being fooled by other network traffic. I consistently saw about 50 packets transferred with FastScan set, and about 37000 packets without FastScan.
So I conclude that this definitely works for me. I can't say what the difference is for you. I ran my tests on Mac OS X 10.4.11 with Perl 5.8.6.
- Phil
|
|---|