Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: IO::Socket::SSL is not downloading full data from HTTPS URL in Windows ActiveState Perl.

by Anonymous Monk
on Jan 21, 2015 at 11:53 UTC ( [id://1114017]=note: print w/replies, xml ) Need Help??


in reply to IO::Socket::SSL is not downloading full data from HTTPS URL in Windows ActiveState Perl.

module version numbers are probably more important than perl version numbers

$ lwp-mirror https://developer.apple.com/standards/qtff-2001.pdf blahb +lahgoner.pdf $ md5sum blahblahgoner.pdf d1aee95cc06d529e67b707257a5cf3eb *blahblahgoner.pdf $ ls -loanh blahblahgoner.pdf -rw-rw-rw- 1 0 5.4M 2014-11-30 15:48 blahblahgoner.pdf $ rm blahblahgoner.pdf $ wget --quiet -c -O blahblahgoner.pdf https://developer.apple.com/sta +ndards/qtff-2001.pdf $ md5sum blahblahgoner.pdf d1aee95cc06d529e67b707257a5cf3eb *blahblahgoner.pdf $ ls -loanh blahblahgoner.pdf -rw-rw-rw- 1 0 5.4M 2015-01-21 03:48 blahblahgoner.pdf $ rm blahblahgoner.pdf $ perl -S -MDevel::ModuleDumper lwp-download https://developer.apple. +com/standards/qtff-2001.pdf Saving to 'qtff-2001.pdf'... 5.34 MB received in 11 seconds (467 KB/sec) Perl 5.016001 Compress::Raw::Zlib 2.063 Cwd 3.40 Encode 2.55 Encode::Alias 2.18 Encode::Byte 2.04 Encode::Config 2.05 Encode::Encoding 2.07 Encode::Locale 1.03 Errno 1.15 Fcntl 1.11 File::Basename 2.84 File::Glob 1.17 File::GlobMapper 1.000 File::Spec 3.40 File::Spec::Unix 3.40 File::Spec::Win32 3.40 Getopt::Std 1.07 HTTP::Config 6.00 HTTP::Date 6.02 HTTP::Headers 6.05 HTTP::Message 6.06 HTTP::Request 6.00 HTTP::Response 6.04 HTTP::Status 6.03 IO 1.25_06 IO::Compress::Base::Common 2.063 IO::Compress::Gzip::Constants 2.063 IO::Compress::Zlib::Extra 2.063 IO::File 1.16 IO::Handle 1.33 IO::Seekable 1.1 IO::Socket 1.34 IO::Socket::INET 1.33 IO::Socket::IP 0.31 IO::Socket::SSL 1.997 IO::Socket::SSL::PublicSuffix none IO::Socket::UNIX 1.24 IO::Uncompress::Adapter::Inflate 2.063 IO::Uncompress::Base 2.063 IO::Uncompress::Gunzip 2.063 IO::Uncompress::RawInflate 2.063 List::Util 1.33 LWP 6.08 LWP::ConnCache 6.02 LWP::MediaTypes 6.02 LWP::MemberMixin none LWP::Protocol 6.06 LWP::Protocol::http none LWP::Protocol::https 6.04 LWP::UserAgent 6.06 Mozilla::CA 20130114 Net::HTTP 6.07 Net::HTTP::Methods 6.07 Net::HTTPS 6.04 Net::SSLeay 1.49 POSIX 1.30 Scalar::Util 1.33 SelectSaver 1.02 Socket 2.006 Socket6 0.23 Storable 2.39 Symbol 1.07 Tie::Hash 1.04 Time::Local 1.2300 URI 1.60 URI::Escape 3.31 URI::http none URI::https none URI::_generic none URI::_idna none URI::_punycode 0.04 URI::_query none URI::_server none Win32::API 0.75 Win32::API::Struct 0.64 Win32::API::Type 0.67 Win32::Console 0.09 $ md5sum qtff-2001.pdf d1aee95cc06d529e67b707257a5cf3eb *qtff-2001.pdf $ rm qtff-2001.pdf

Related thread Re^5: cpan & strawberry perl errors

  • Comment on Re: IO::Socket::SSL is not downloading full data from HTTPS URL in Windows ActiveState Perl.
  • Download Code

Replies are listed 'Best First'.
Re^2: IO::Socket::SSL is not downloading full data from HTTPS URL in Windows ActiveState Perl.
by sam_bakki (Pilgrim) on Jan 22, 2015 at 06:54 UTC

      As you have suggested, I have added module versions using evel::ModuleDumper

      Hmm, interesting :)

      First, I would try lwp-mirror and/or lwp-download and see if it works with IO::Socket::SSL

      Second, as you pretty much have the latest versions of the stuff, I would report the problem to IO::Socket::SSL maintainer, he should be able to suggest more diagnostic steps

      unless , you'd like to try an older version like I have that seems to work for me :D

        Hi

        You are trying in Linux. Let me also try in Linux and share the results. Please note that I am trying in windows.

        Thanks & Regards,
        Bakkiaraj M
        My Perl Gtk2 technology demo project - http://code.google.com/p/saaral-soft-search-spider/ , contributions are welcome.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1114017]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-20 00:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found