Update FtpDownloadModule.java

pull/617/head
lyy 5 years ago committed by GitHub
parent bfc2cff5b0
commit 6839cba91e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      app/src/main/java/com/arialyy/simple/core/download/FtpDownloadModule.java

@ -49,7 +49,6 @@ public class FtpDownloadModule extends BaseViewModule {
LiveData<DownloadEntity> getFtpDownloadInfo(Context context) { LiveData<DownloadEntity> getFtpDownloadInfo(Context context) {
//String url = AppUtil.getConfigValue(context, FTP_URL_KEY, ftpDefUrl); //String url = AppUtil.getConfigValue(context, FTP_URL_KEY, ftpDefUrl);
//String url = "ftp://9.9.9.72:2121/Cyberduck-6.9.4.30164.zip"; //String url = "ftp://9.9.9.72:2121/Cyberduck-6.9.4.30164.zip";
String url = "ftp://58.210.178.52:21/battery1.0.0.apk";
String filePath = AppUtil.getConfigValue(context, FTP_PATH_KEY, ftpDefPath); String filePath = AppUtil.getConfigValue(context, FTP_PATH_KEY, ftpDefPath);
singDownloadInfo = Aria.download(context).getFirstDownloadEntity(url); singDownloadInfo = Aria.download(context).getFirstDownloadEntity(url);

Loading…
Cancel
Save