Problem Unzipping File Imported From Mac

  • estrin1
  • Born
  • Born
  • estrin1
  • Posts: 2

Post 3+ Months Ago

I had a friend send me a large compressed zip file. He is a mac user and I use windows XP. As far as I can tell the main problem with decompression is that almost all of the file in the zip folder have a "/" character in the file name which is acceptable on Macs but illegal in Windows. Now is there a way I can rename the files within a compressed file so they would decompress correctly or does anyone have any ideas on how to fix this problem? Thanks in advance.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Don2007
  • Web Master
  • Web Master
  • Don2007
  • Posts: 4924
  • Loc: NY

Post 3+ Months Ago

The easiest thing to do would have him rename it and resend it. Would he do that for you?

Another thought would be open it from a command prompt and put quotes around the file name. Of course, you would need a program that could do that from a command prompt. Unix has some and I'm sure you could find some for Windows.
  • estrin1
  • Born
  • Born
  • estrin1
  • Posts: 2

Post 3+ Months Ago

it was a rather large file and i would rather not spend the 3+ hours it took me to download it, but could you elaborate a bit on the command prompt idea? are you saying i could theoretically rename the files within the zip file from the command prompt somehow?
  • casablanca
  • Proficient
  • Proficient
  • User avatar
  • Posts: 481

Post 3+ Months Ago

You need to find a utility that can rename files from within the ZIP file - it doesn't matter whether it's a graphical or a command-line utility. I tried searching a bit but couldn't find any such utility.
  • Don2007
  • Web Master
  • Web Master
  • Don2007
  • Posts: 4924
  • Loc: NY

Post 3+ Months Ago

I didn't realize that the files inside the the zip file that have the illegal character. I thought it was the zip file itself.

Can your friend change the file names, burn it to a CD and mail it to you?

If he couldn't do that, I would try the unzip command in Unix. I'm sure you don't have Unix and I would be happy to try it if the file were available to me on an FTP server, which brings me to the next question. How big is the file and why did it take 34 hours to download? A file that big can't be sent by email.

Edit: I see you said 3+ hours, not 34.
  • casablanca
  • Proficient
  • Proficient
  • User avatar
  • Posts: 481

Post 3+ Months Ago

Unix wouldn't help either - see http://www.cse.ohio-state.edu/sce/refer ... names.html - "/" is the only character NOT allowed in Unix filenames.
  • Don2007
  • Web Master
  • Web Master
  • Don2007
  • Posts: 4924
  • Loc: NY

Post 3+ Months Ago

I just tested it and you're correct. The best thing to do is to have his friend change the file names and put them on a CD.
  • sms
  • Born
  • Born
  • sms
  • Posts: 1

Post 3+ Months Ago

I stumbled upon this thread (and the whole forum) accidentally, while
looking for some (slightly) related info. I've been doing some
development on the Info-ZIP ("http://www.info-zip.org/") Zip and
UnZip programs on Mac OS X, and the question of a slash ("/") in a
file name has come up there, too.

I realize that this is now fairly old stuff, and the culprit is at
least one step removed from the original poster, but ...

First, on a Mac OS X system, a slash in a file name is actually
encoded as a colon (":") in the file system. For example, what a
user sees as "a/b" in the Finder is really stored as "a:b" (as the
underlying UNIX-like file system on the Mac can't deal with a real
slash in a file name, either). (And the Finder will not allow a user
to put a colon into a file name.) Apple's "ditto" program archives
such files with the colon in the name, as will Info-ZIP UnZip 6.0
(when it's released).

Second, according to the Zip archive format standard
("http://www.pkware.com/documents/casestudies/APPNOTE.TXT"), slashes
are exclusively used as directory name separators, as in UNIX.

Third, I'd expect a good Zip extraction program to deal with locally
invalid names in some helpful way (although it's not clear from the
original problem description exactly what didn't work how in this case).

So, for a couple of reasons (as I see it), this problem should not
have come up, and I'm curious about it. Useful info would include a
description of the program used to make the Zip archive on the Mac,
and of the program used to (try to) unpack the archive on Windows.
If I could get hold of a small example of such an archive, that would
also be nice. (Or, if the original problem was not described
accurately, that would be good to know.) Any useful info would be
appreciated.
  • Jake57
  • Born
  • Born
  • Jake57
  • Posts: 1

Post 3+ Months Ago

Same thing happened to me. I looked for a slash or some other illegal character in the zip file name, but did not see one. However, I noticed a blank space before ".zip" I deleted it and then the folder unzipped. I still had trouble with one of the files in the folder, but it unzipped separately. I think it does have something to do with illegal characters.

Post Information

  • Total Posts in this topic: 9 posts
  • Users browsing this forum: No registered users and 35 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.