Skip Menu |
 

This queue is for tickets about the Archive-Zip CPAN distribution.

Report information
The Basics
Id: 87082
Status: new
Priority: 0/
Queue: Archive-Zip

People
Owner: Nobody in particular
Requestors: anadem [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From anadem [...] gmail.com Fri Jul 19 21: 32:30 2013
MIME-Version: 1.0
X-Spam-Status: No, score=-6.219 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham
X-Spam-Flag: NO
Content-Type: multipart/alternative; boundary="047d7b3a9ad0e768f604e1e76971"
Message-ID: <CAEftgX5iFxzO+CbGbiDH=93HO1eUmAOpWhFWynTGAxyCnKFjHA [...] mail.gmail.com>
X-Received: by 10.50.134.101 with SMTP id pj5mr1766530igb.31.1374283937308; Fri, 19 Jul 2013 18:32:17 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -6.219
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 3E95E240F9D for <cpan-bug+Archive-Zip [...] hipster.bestpractical.com>; Fri, 19 Jul 2013 21:32:30 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EAG5focGDtk6 for <cpan-bug+Archive-Zip [...] hipster.bestpractical.com>; Fri, 19 Jul 2013 21:32:28 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 89C48240F9C for <bug-Archive-Zip [...] rt.cpan.org>; Fri, 19 Jul 2013 21:32:28 -0400 (EDT)
Received: (qmail 3055 invoked by alias); 20 Jul 2013 01:32:27 -0000
Received: from mail-ie0-f174.google.com (HELO mail-ie0-f174.google.com) (209.85.223.174) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Fri, 19 Jul 2013 18:32:21 -0700
Received: by mail-ie0-f174.google.com with SMTP id 9so10846109iec.19 for <bug-Archive-Zip [...] rt.cpan.org>; Fri, 19 Jul 2013 18:32:17 -0700 (PDT)
Received: by 10.50.236.7 with HTTP; Fri, 19 Jul 2013 18:32:17 -0700 (PDT)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Delivered-To: cpan-bug+Archive-Zip [...] hipster.bestpractical.com
Subject: BUG: files with paths in zips are invisible using Windows Explorer
Return-Path: <anadem [...] gmail.com>
X-RT-Mail-Extension: archive-zip
X-Original-To: cpan-bug+Archive-Zip [...] hipster.bestpractical.com
X-Spam-Check-BY: la.mx.develooper.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=haaORyfTsSp8OudFsjpi0cYVa5ZIC5f7w0XThuMzLSs=; b=FIHfr2+ITlaCPpa0iEws6gTV6L3vlWIby/QGfpYMZU2zYDMSTQ87qM5PfFeULRs8ot Fz9mm0vJEpx7xQfTvreL0TBWsjQdA5u7iP8npx0pjhTj86e5ESCxb+I6M+Z5sOzsXSfq Y3CG2O6Q9ywj1oV3xcDtSyMQ1G3acpiIQrCJWvEmZca1gci3GsSszMLekGMpgCGV447L UIbaLa4bju+O7e1pcOm1XnuGB9zHqtOeIlMlnCMTRuQkB1cAJiB6lEWLmeQzVfzEhyAR dV43Rt7J2OHVUAVicOWXxIGWmrLp7IF82GenS84aZTirlSIYP2j6QcDUM2R/ynXXpWgf qiOw==
Date: Fri, 19 Jul 2013 18:32:17 -0700
X-Spam-Level:
To: bug-Archive-Zip [...] rt.cpan.org
From: Alan Sinclair <anadem [...] gmail.com>
X-RT-Interface: Email
Content-Length: 0
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: iso-8859-1
Content-Length: 1146
Download (untitled) / with headers
text/plain 1.1k
Using Archive::Zip to make a zip file that includes files in subdirectories results in a package in which Windows Explorer cannot see the files in subdirectories. Only files with no path information are visible. For example the following code packages one file from the current directory, and one from a subdirectory. When the zip file is opened in WIndows Explorer the subdirectory and its file are not visible. Tools such as gnu zip, 7zip, WinZip, etc can see subdirectories OK, so I guess this may be a Windows bug, but hope it can be fixed in the Archive::Perl module. (Log in to the CPAN bug archive with OpenID fails, so I can't look for prior submissions or conversations about this.) # this is perlzip.pl use strict; use Archive::Zip; my @files_to_get = ( { files => "perlzip.pl" }, # in current directory { files => ".\\temp\\dummy.txt" }, # in a sub dir ); my $zip = Archive::Zip->new(); # new zip object for packaging foreach my $href ( @files_to_get ) { my $file = $href->{"files"}; print( " adding $file\n" ); $zip->addFile( $file ); } $zip->writeToFileNamed( "MyZip.zip" ); exit; Regards Alan Sinclair
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: iso-8859-1
Content-Length: 2334


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.