String DownloadURL = "http://wizsys2456.iptime.org:8001/data/pic/12051180/welcome.dcm";
String FileName = "/mnt/sdcard/welcome1.bmp";
InputStream inputStream = new URL(DownloadURL).openStream();
File file = new File(FileName);
OutputStream out = new FileOutputStream(file);
saveRemoteFile(inputStream, out);
out.close();
이런 코드를 넣어서 실험 결과
xml, png, bmp 파일은 복사되는 걸 확인했는데,
dcm파일만은 복사가 안됩니다.
왜 그러는 걸까요?