SharpZip escape filename
Posted
by mr.moses
on Stack Overflow
See other posts from Stack Overflow
or by mr.moses
Published on 2010-03-23T19:40:55Z
Indexed on
2010/03/23
19:43 UTC
Read the original article
Hit count: 528
I'm using SharpZipLib to create a zip file with an html page and images. If the html file has a / in the name, it creates a folder (which messes up the image paths).
Example: If the html file should be named Web/Design.html
the zip file will contain a Web
folder with a Design.html
file in it.
I've tried escaping / by replacing / with // or \/ but nothing has worked so far.
© Stack Overflow or respective owner