|
|
@@ -111,9 +111,9 @@ public class ObjectBasicService {
|
|
|
String filePath = "/home/reghao/Downloads/centos7";
|
|
|
filePath = "/home/reghao/Downloads/SecurityWhitepaper.pdf";
|
|
|
filePath = "/home/reghao/Downloads/USMC-120509-M-PH073-074.jpg";
|
|
|
- filePath = "/home/reghao/Downloads/public.sql";
|
|
|
+ //filePath = "/home/reghao/Downloads/public.sql";
|
|
|
File file = new File(filePath);
|
|
|
- String key = String.format("a/c/d/%s", file.getName());
|
|
|
+ String key = String.format("aa/bb/cc/%s", file.getName());
|
|
|
objectBasicService.putObject(key, file);
|
|
|
//objectBasicService.getObject(key);
|
|
|
//objectBasicService.headObject(key);
|