Zip file created by archive/zip can't be opened on Windows machine
406 views
Skip to first unread message
Jimmy 99
unread,
Nov 10, 2017, 4:40:40 PM11/10/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
Is anyone familiar with the archive/zip package? I am experiencing the following problem: When I create the Zip file on Ubuntu the file can be extracted no problem. When I try and extract the zip file on a windows machine I get an error saying the file cannot be created.
I have tried compiling the go app on the windows machine, and same problem - Windows file explorer cannot extract the zipped file.
Interestingly enough, 7zip on the windows machine can extract the zip file, but obviously I cannot ask the user community to install 7zip just to extract a zip file:(
Any help or pointers will be appreciated
Donovan
unread,
Nov 10, 2017, 7:25:45 PM11/10/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
its not totally clear the exact issue you're dealing with - a minimal example would go a long way.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
If you can provide a minimal reproduction in Go code, then I can take a look at it. I fixed a number of zip issues for the upcoming Go1.10 release.
JT
Jimmy 99
unread,
Nov 12, 2017, 1:24:01 AM11/12/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
Dear Joe Thanks for your gracious offer! Please see the attached. I have added the go code, a shortened data file , the pdf and zipped pdf output file Please let me know if you need anything else Regards Jimmy