다운로드할 파일의 이름에 '?' 가 들어가 있으면 오류를 내뱉는데요.
'!' 나 다른 문자들 한자들까지도 문제가 없는데 예를들어 파일이름이 '안녕하세요?.mp3' 라면 오류를 뱉습니다.
if(file.exists()){
return mContext.getString(R.string.exists);
}
file.createNewFile(); // 여기서 에러로그 java.io.IOException: open failed: EINVAL (Invalid argument) 를 뿌립니다.
파일이름에 물음표가 없느것은 문제없이 진행됩니다.
이유가 뭘까요...;;