• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 782
  • Last Modified:

SharpZipLib deleting input files to zip

How can I delete the files that are zipped from the folder using SharpZipLib?
I currently generate files that are extracted from sql2008.  I then zip these files with SharpZipLib.  But I can't sem to find the call/parameter in SharpZipLib to delete the input files to the zip.  Currently It generates the zip downloads to client machine automatically and deletes the zip from server.  But I also want it to delete the files that goes into the zip file from server as they are temporary.  Does anyone know the command in SharpZipLib for this task? or vb.net command if thats the way to go? I am using virtual path.
1 Solution
I think you will need to use IO.Files.Delete function and probably also IO.Directory.GetFiles function.
CPOINT2000Author Commented:
Thanks, that works fine.

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now