|
@@ -127,8 +127,7 @@ public class DataService {
|
|
|
// String fileStorePath = getFileWithUrl(fpString, fileName);
|
|
|
String fileStorePath = downloadFtpFile(fpString, fileName);
|
|
|
File file = new File(fileStorePath);
|
|
|
- String key = "attachment"+PropKit.get("institution_id") + "/" + fileName;
|
|
|
-
|
|
|
+ String key = "attachment"+ "/" + PropKit.get("institution_id") + "/" + fileName;
|
|
|
boolean exists = client.doesObjectExist(PropKit.get("oss_bucketName"), key);
|
|
|
if (!exists) {
|
|
|
PutObjectRequest request = new PutObjectRequest(PropKit.get("oss_bucketName"), key, file);
|