|
@@ -1041,7 +1041,7 @@ public class SiDownloadService {
|
|
|
fsDownloadIn.put("filename", filename);
|
|
|
fsDownloadIn.put("fixmedins_code", SiUtil.INSTITUTION_ID);
|
|
|
input.getJSONObject("input").put("fsDownloadIn", fsDownloadIn);
|
|
|
- String targetPath = "/home/web-server/temp/" + filename;
|
|
|
+ String targetPath = ZipUtil.DIRECTORY + filename;
|
|
|
ForestResponse<byte[]> rsp = execSrvc.download(SiUtil.getSiHeaderMap(SiFunction.DOWNLOAD_FILE), input);
|
|
|
try {
|
|
|
Files.write(Paths.get(targetPath), Objects.requireNonNull(rsp.getByteArray(),
|