Skip to content

Commit 85b4ef5

Browse files
committed
Deleting the zip file after extraction.
1 parent f2bee8a commit 85b4ef5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eFormAPI/eFormAPI/Controllers/TemplateFilesController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ public HttpResponseMessage UploadEformZip()
258258
}
259259

260260
ZipFile.ExtractToDirectory(filePath, extractPath);
261+
File.Delete(filePath);
261262
return Request.CreateResponse(HttpStatusCode.OK);
262263
}
263264
}

0 commit comments

Comments
 (0)