|
@@ -163,12 +163,12 @@ public class ShellUtil {
|
|
|
*/
|
|
|
public static void yunUpload(String srcPath,String destPath){
|
|
|
String opType = srcPath.contains(".")? "file":"folder" ;
|
|
|
- String cmd = String.format(ShellCmd.FYUN_UPLOAD, "4dkankan",srcPath,destPath,"oss",opType);
|
|
|
+ String cmd = String.format(ShellCmd.FYUN_UPLOAD, "4dkankan",srcPath,destPath,"local",opType);
|
|
|
execCmd(cmd);
|
|
|
}
|
|
|
public static void yunDownload(String srcPath,String destPath){
|
|
|
String opType = srcPath.contains(".")? "file":"folder" ;
|
|
|
- String cmd = String.format(ShellCmd.FYUN_DOWN,"4dkankan",srcPath,destPath,"oss",opType);
|
|
|
+ String cmd = String.format(ShellCmd.FYUN_DOWN,"4dkankan",srcPath,destPath,"local",opType);
|
|
|
execCmd(cmd);
|
|
|
}
|
|
|
}
|