On Thu, 23 May 2002 [EMAIL PROTECTED] wrote: Thanks. Is there an interface for this in HTTP/HTTP::Request modules & is there something to do the same for respones created on the fly? Thanks.
> > You need to make HTTP "HEAD" request. > > If you have libwww-perl, try this: > perl -MLWP::Simple -e '@head = head > ("http://www.perl.com/CPAN/src/stable.tar.gz"); print "$head[1]\n";' > > (You may need to adapt quotes to Win32.) > -- > Alexander Anderson > Systems Analyst > Investment Systems Application Development Services > Manulife Financial > > 200 Bloor Street East NT4-C34A > Tel: (416) 926-3000 x3132 > E-mail: [EMAIL PROTECTED] > > > |---------+---------------------------------------------> > | | | > | | | > | | evgeny tsurkin | > | | <[EMAIL PROTECTED]> | > | | Sent by: | > | | [EMAIL PROTECTED]| > | | veState.com | > | | | > | | | > | | 05/23/2002 09:20 AM | > | | | > |---------+---------------------------------------------> > >>-----------------------------------------------------------------------------------------------| > | > | > | To: [EMAIL PROTECTED] > | > | cc: > | > | Subject: The reuqested file size (fwd) > | > >>-----------------------------------------------------------------------------------------------| > > > > Hi All! > I am often fetching large files from the web. > Is there a way to find out what is the file size I am requesting > *befor* fetching it? > Thanks. > > -- > ------------------------------------------- > > Evgeny. > > > > _______________________________________________ > Perl-Win32-Web mailing list > [EMAIL PROTECTED] > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs > > > > > _______________________________________________ > Perl-Win32-Web mailing list > [EMAIL PROTECTED] > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs > -- ------------------------------------------- If You don't like my English - I can use Russian. Evgeny. _______________________________________________ Perl-Win32-Web mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs