http://www.perlmonks.org?node_id=984581


in reply to Re: Active Perl Offline Package on Windows
in thread Active Perl Offline Package on Windows

I liked this solution, My PPM File Archive is:
http://ppm4.activestate.com/MSWin32-x86/5.12/1205/package.xml
When I open it any browser (Chrome/Mozill/IE) it hangs (Seems this is a big file). When I download this file (Using Download Manager), it is downloaded in some binary format. Please help me download this file. Else I cannot search my string as suggested by you.

Replies are listed 'Best First'.
Re^3: Active Perl Offline Package on Windows
by Jenda (Abbot) on Jul 31, 2012 at 08:59 UTC

    Append ".gz" to the file and open with archiver of your choice. Seems the HTTP headers were not entirely right so the downloader did not decompress the data.

    Jenda
    Enoch was right!
    Enjoy the last years of Rome.

      Thanks it worked like a charm. Your help is deeply appreciated.
Re^3: Active Perl Offline Package on Windows
by cavac (Parson) on Jul 31, 2012 at 17:22 UTC

    As explained by others, you have to un-gzip it first. They use a Content-Encoding: x-gzip header which is not really RFC conform.

    But with the above mentioned approach, you can also download a complete copy of the ppm archive. With a little regex magic on the xml file(s) to correct the paths, you can go ahead and tell the (graphical) ppm interface "Hey, you know what, there's this new server called 'C:\myserver', check it out!".

    "I know what i'm doing! Look, what could possibly go wrong? All i have to pull this lever like so, and then press this button here like ArghhhhhaaAaAAAaaagraaaAAaa!!!"