LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-30-2006, 10:22 PM   #1
Hosiah
Member
 
Registered: Sep 2004
Location: Des Moines, Iowa
Distribution: Slackware, Mandriva, Debian derivatives, +BSD/ Solaris/ Minix/ plan9/ GNU/HURD...
Posts: 185

Rep: Reputation: 31
Linux zip program-Windows compatibility?


I've just had the weirdest thing happen. I send some graphics samples in png format in a folder. So at the command line I go:

zip -r my_folder.zip ./my_folder

and zip shows that it's creating the folder and putting the images in it. I send it to a Windows user, and they report that when they unzip it, the images show "just the top" OK and the rest is jumbled! This method has worked before - I even had them send it back and I unzipped it and looked at it and everything was fine just like I sent it!

Any ideas where to start looking for the problem? Googling unfruitful so far.
 
Old 07-01-2006, 03:33 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Maybe a jpeg format they can't handle?


Cheers,
Tink
 
Old 07-01-2006, 08:13 AM   #3
fuzzyash
Member
 
Registered: Aug 2003
Location: Melbourne Australia
Distribution: Fedora Core 4
Posts: 184

Rep: Reputation: 30
Have you tried File Roller under X? This may create a cleaner zip file.

You could also try the args -l & -ll to make the archive more DOS friendly.

Seems weird that you have had this work in the past! Did you use .png files last time it worked?
 
Old 07-01-2006, 08:42 AM   #4
Hosiah
Member
 
Registered: Sep 2004
Location: Des Moines, Iowa
Distribution: Slackware, Mandriva, Debian derivatives, +BSD/ Solaris/ Minix/ plan9/ GNU/HURD...
Posts: 185

Original Poster
Rep: Reputation: 31
Quote:
You could also try the args -l & -ll to make the archive more DOS friendly.
The manpage on zip says the -l and -ll switches shouldn't be used for binary files. Those are just to convert line-breaks in text.

Has anybody else encountered this situation?
 
Old 07-01-2006, 03:03 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Did you send one of the jpegs by itself? I mean, really, jpeg is
highly optimised, and the only advantage that zipping them gives
you is that you don't have to attach individual files. What compression
did you get, 2, 3%?


Cheers,
Tink
 
Old 07-01-2006, 03:34 PM   #6
Hosiah
Member
 
Registered: Sep 2004
Location: Des Moines, Iowa
Distribution: Slackware, Mandriva, Debian derivatives, +BSD/ Solaris/ Minix/ plan9/ GNU/HURD...
Posts: 185

Original Poster
Rep: Reputation: 31
No, it was .png (portable network graphics) format. Look, I know zipping highly compressed graphics files is...ah, bogus, but the Windows-centric .asp site I am dealing with *requires* zip files in zip file format no matter what - even if it makes no sense at all! Then recievers get the files and looks at them and they're hosed.

I'm thinking that I'll write this off to a one-time jinx. If there were something wrong with zip that was this major, I'm sure I would have heard of it by now - not to mention that it would get fixed.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Program compatibility between solaris and Linux?? jimmey Programming 6 06-24-2005 02:45 AM
Windows to Linux - hardware compatibility questions mxk Linux - Newbie 3 01-26-2005 06:31 PM
Windows/Linux Software Compatibility Neo1134 Linux - Software 5 10-26-2004 06:42 PM
Windows, Linux Compatibility DDarko Linux - General 16 09-15-2004 02:40 PM
UT2004 Linux/Windows Multiplayer Compatibility Ryknow215 Linux - Games 2 02-18-2004 05:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration