SPUG: File headers
Steve Laybourn
otter101 at hotmail.com
Mon Jan 31 15:52:07 CST 2000
Hello again!
I'm wondering if there is a way to be able to open a remote file long
enough to get the first 256 bytes and close the record again.
Example:
If I wanted to scan the first 1024 bytes of
http://www.arglebargle.com/images/very_big_graphic.jpg
to make sure it WAS a JPEG file without having to load the entire image,
could it be done? If so, how? open / read don't seem to do it.
Thanks, oh mighty ones!
Be seeing you...
Steve Laybourn
---Remember: King Kong died for your sins.
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
POST TO: spug-list at pm.org PROBLEMS: owner-spug-list at pm.org
Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
SUBSCRIBE/UNSUBSCRIBE: Replace ACTION below by subscribe or unsubscribe
Email to majordomo at pm.org: ACTION spug-list your_address
More information about the spug-list
mailing list