2
내 Google 드라이브 계정에서 파일을 다운로드하고 컴퓨터에 저장하고 싶습니다.Google 드라이브 다운로드 outpustream을 파일로 저장하는 방법은 무엇인가요?
String fileId = "0BwwA4oUTeiV1UVNwOHItT0xfa2M";
OutputStream outputStream = new ByteArrayOutputStream();
service.files().get(fileId).executeMediaAndDownloadTo(outputStream);
outpustream을 처리하는 방법을 모르므로 파일로 내보낼 수 있습니다. 내가 사용하는 코드는 Google Drive APIs입니다.
정말 고마워요! 오늘 다시 구 했잖아! – Undefined