|
@@ -7,10 +7,10 @@ import com.fdkankan.common.util.CmdUtils;
|
|
|
* @date 2024/1/12
|
|
|
*/
|
|
|
public class DownloadUtil {
|
|
|
- public final static String AXEL_CMD = "axel -o @out -q @url";
|
|
|
+ public final static String WGET_CMD = "wget -O @out -q @url";
|
|
|
|
|
|
public static void downFile(String url, String path) throws Exception {
|
|
|
- String cmd = AXEL_CMD.replace("@out",path).replace("@url",url);
|
|
|
+ String cmd = WGET_CMD.replace("@out",path).replace("@url",url);
|
|
|
CmdUtils.callLineSh(cmd);
|
|
|
}
|
|
|
}
|