Temporarily disable file delete

This commit is contained in:
Flare Microsystems
2024-11-16 20:27:12 -08:00
parent f67892eac7
commit bf1161f69d

View File

@@ -240,13 +240,13 @@ public abstract class NetworkHandler {
File file = downloadComplete.get(fileId);
if (file != null)
{
file.delete();
//file.delete();
}
}
public void beginFile(long fileId, long expectedSize) throws IOException {
File file = File.createTempFile(fileId + "-cj-tmp", ".zip");
file.deleteOnExit();
File file = new File(fileId + "-cj-tmp.zip");
//file.deleteOnExit();
OutputStream is = null;
try
{