Temporarily disable file delete
This commit is contained in:
@@ -240,13 +240,13 @@ public abstract class NetworkHandler {
|
|||||||
File file = downloadComplete.get(fileId);
|
File file = downloadComplete.get(fileId);
|
||||||
if (file != null)
|
if (file != null)
|
||||||
{
|
{
|
||||||
file.delete();
|
//file.delete();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void beginFile(long fileId, long expectedSize) throws IOException {
|
public void beginFile(long fileId, long expectedSize) throws IOException {
|
||||||
File file = File.createTempFile(fileId + "-cj-tmp", ".zip");
|
File file = new File(fileId + "-cj-tmp.zip");
|
||||||
file.deleteOnExit();
|
//file.deleteOnExit();
|
||||||
OutputStream is = null;
|
OutputStream is = null;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user