|
|
@ -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); |
|
|
|