0

When I create a zip file using SharpZipLib I end up with .tmp files litering my hard drive. It occurs when I add files to an archive.

I'm not too concerned that it's happening, but I'd like to be able to get the file name so that I can remove the files once the archive is completed. How do I get the name of the .tmp file?

Brad Bruce
  • 7,638
  • 3
  • 39
  • 60

2 Answers2

0

Are you closing the zip file you are creating? I use SharpZipLib for several apps and the .tmp file is always cleaned up automatically by the process once the newly generated zip file is closed and released by the process in every one of my apps.

BBlake
  • 2,388
  • 1
  • 22
  • 31
0

I'm switching to a different library.

Brad Bruce
  • 7,638
  • 3
  • 39
  • 60