|
@@ -178,6 +178,9 @@ public class SceneDownloadHandlerServiceImpl {
|
|
|
// zipPath = "F:\\downloads\\scenes\\" + num + ".zip";
|
|
|
zipPath = String.format(this.zipLocalFormat, num);
|
|
|
File zipFile = new File(zipPath);
|
|
|
+ if(!zipFile.getParentFile().exists()){
|
|
|
+ zipFile.getParentFile().mkdirs();
|
|
|
+ }
|
|
|
ZipOutputStream out = new ZipOutputStream(zipFile);
|
|
|
|
|
|
JSONObject getInfoJson = this.zipGetInfoJson(out, this.wwwroot, num);
|