is it possible to add files to a zip with the name that i want?
I have 3 files: a, b and c.
I add them to zip and stream directly to response.output. In the zipfile they are then called a,b and c. But i want to give them custom names...i dont want the files in the zipfile to be named a,b and c, i want them to be named x,y and z.
Is that possible?
That doesnt work:
entry = zip.AddFile("a.pdf");
entry.FileName = "x.pdf";
Is there a way to do that?
I have to directly stream the zipfile, so creating it and then updating and renaming is no option.
Sorry for my bad english! Thanks in advance!