Ftp下载
TxcA opened this issue · 1 comments
TxcA commented
` int wId = getWhatId();
DownloadRequest req = new DownloadRequest(imgUrl, RequestMethod.GET,
AfCache.getInstance().get(AfCacheTag.SNAP_IMAGE_PATH),
fileString, false, true);
downloadCache.append(wId, faceId);
try {
SyncDownloadExecutor.INSTANCE.execute(wId, req, this);
} catch (Exception ex) {
ex.printStackTrace();
}
`
java.lang.ClassCastException: libcore.net.url.FtpURLConnection cannot be cast to java.net.HttpURLConnection
TxcA commented
@yanzhenjie 你懒了、你没之前帅了、NoHttp和Kalle你也不更了、直播也不播了,被迫转战Rx+Retrofit2。