Problem with space in file name

Nov 14, 2011 at 8:48 AM
I have wrote a program that use your library. If I zip a file whit space in file name and open it with 7-zip i receive this error: UNABLE TO OPEN FILE...
Winrar opent it correctly

There is any option to set when I create the zip file?
I use VB.NET



Nov 16, 2011 at 7:46 AM

There is anyone that can help me?

Jul 22, 2014 at 5:41 AM
I faced this same issue and I found that space in the filename is Url Encoded to %20 and this file couldn't be added in the zip file. So just unescape the filename string i.e. %20 should be a simple space. I used the below code to unescape the filename string.

Uri uri = new Uri(Uri.UnescapeDataString(filename));

Hope this helps someone.