c# - Error when extracting from a dotnetzip created zip file - "Windows cannot complete the extraction." -
i'm using dotnetzip create zip file on fly returned via mvc stream.
i'm able add files streams, ie file created on fly. i'm adding files created base64 strings.
creating , downloading zip file fine, when open zip file using windows explorer (windows 7 or 8) can see of entries expected. opening file created memorystream opens without issue, when try open file created base64 string, windows explorer returns error
windows cannot complete extraction. destination file not created.
if try drag file zip file in windows explorer folder, error:
if open same zip file or extract using winrar , open of entries don't have issues.
any ideas? i'm thinking maybe need add content type base64 string or stream maybe? dotnetzip doesn't seem have parameter specify content types...
i've made sure there's no encryption on zip file or of it's entries
it appears you're trying extract , save file has colons in file name (the name in screen shot "attachment 2 - 25-07-2013 15:27:04..png"). that's not going work. need make sure file names in zip file don't contain invalid file name characters.
Comments
Post a Comment