[go-nuts] Re: Zip file created by archive/zip can't be opened on Windows machine

2017-11-12 Thread Klaus Post
Hi!

Windows cannot extract password protected ZIP files without third party 
software. Sorry, but it a beef you need to take with Microsoft.

ref: 
https://social.technet.microsoft.com/Forums/en-US/981168e8-512d-4515-aada-8c94adf9187e/error-0x800041005-trying-to-unzip-a-password-protected-file?forum=win10itprogeneral


/Klaus


On Sunday, 12 November 2017 07:24:01 UTC+1, Jimmy 99 wrote:
>
> 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
>
>
> On Sunday, November 12, 2017 at 2:27:54 AM UTC+2, Joe Tsai wrote:
>>
>> 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
>>
>> On Friday, November 10, 2017 at 4:25:45 PM UTC-8, Donovan wrote:
>>>
>>> its not totally clear the exact issue you're dealing with - a minimal 
>>> example would go a long way.
>>>
>>> If I had to guess, I would say your zip entries are using characters not 
>>> supported by windows file systems. windows has more reserved characters 
>>> than you might expect, and even reserved filenames you have to avoid like 
>>> nul, ptr, etc. See 
>>> https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx#naming_conventions
>>>
>>>
>>> On Friday, November 10, 2017 at 4:40:40 PM UTC-5, Jimmy 99 wrote:

 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





-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[go-nuts] Re: Zip file created by archive/zip can't be opened on Windows machine

2017-11-11 Thread thebrokentoaster
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

On Friday, November 10, 2017 at 4:25:45 PM UTC-8, Donovan wrote:
>
> its not totally clear the exact issue you're dealing with - a minimal 
> example would go a long way.
>
> If I had to guess, I would say your zip entries are using characters not 
> supported by windows file systems. windows has more reserved characters 
> than you might expect, and even reserved filenames you have to avoid like 
> nul, ptr, etc. See 
> https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx#naming_conventions
>
>
> On Friday, November 10, 2017 at 4:40:40 PM UTC-5, Jimmy 99 wrote:
>>
>> 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
>>
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[go-nuts] Re: Zip file created by archive/zip can't be opened on Windows machine

2017-11-10 Thread Donovan
its not totally clear the exact issue you're dealing with - a minimal 
example would go a long way.

If I had to guess, I would say your zip entries are using characters not 
supported by windows file systems. windows has more reserved characters 
than you might expect, and even reserved filenames you have to avoid like 
nul, ptr, etc. 
See 
https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx#naming_conventions


On Friday, November 10, 2017 at 4:40:40 PM UTC-5, Jimmy 99 wrote:
>
> 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
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.