SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2010
    Posts
    57
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Compressed Zip Creates Duplicate Files

    Any ideas why this may be happening. When I compress a folder that contains 1 html file and some images on my Mac using Snow Leopard and send it to my client who uses Windows 7, she gets 2 html files when she uncompresses it. I've tried compressing the 1 html and images with placing them in a folder, and the same thing happens.

    Thanks for any ideas.

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    16,420
    Mentioned
    160 Post(s)
    Tagged
    1 Thread(s)
    Is the second in a "MAC_OSX" (sp?) folder?

  3. #3
    SitePoint Enthusiast
    Join Date
    Jul 2010
    Posts
    57
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The second html file appears in the uncompressed folder on a Windows 7 machine. The second html is also smaller file size from the original.

  4. #4
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    16,420
    Mentioned
    160 Post(s)
    Tagged
    1 Thread(s)
    That doesn't sound like what I was thinking of. I've seen some zipped files that had both Win and Mac versions so I thought that might be what was happening here.

    It's the actual HTML files that are different size? i.e. not one that is the HTML file only and the other "complete" with "referenced" files (css, js, imgs, etc)

    Is the smaller one corrupt?

  5. #5
    SitePoint Enthusiast
    Join Date
    Jul 2010
    Posts
    57
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I assume the smaller one is corrupt but I am not the recipient of that file. My client keeps asking me to stop sending 2 html files, but I am only sending her one. The second smaller file seems to create itself when it's uncompressed on the Windows 7 machine.

  6. #6
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    16,420
    Mentioned
    160 Post(s)
    Tagged
    1 Thread(s)
    I have Win 7
    Can you post a sample (test only, nothing "real") zip attachment for me to try?

  7. #7
    SitePoint Evangelist silver trophybronze trophy
    Join Date
    Jul 2013
    Posts
    406
    Mentioned
    21 Post(s)
    Tagged
    0 Thread(s)
    Hi bluellipse,
    Can you put an example zip-file somewhere online (+ link)?
    Then I can have a look what is happening on my WinXP.
    BTW: It's not the mailing program which is sending attached files 2 times? (or the receiving mail program?)

    That was a cross-post.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •