Downloading file using HTTP GET request

조회 수: 5 (최근 30일)
Luca
Luca 2023년 11월 30일
댓글: Luca 2023년 11월 30일
When I follow this link
"https://drive.google.com/uc?export=download&id=<MY_FILE_ID>"
in my Chrome browser, a file gets downloaded into my computer. Is there a way to "follow" the same link, in order to download the file, using a MATLAB method? For instance, i tried
webread("https://drive.google.com/uc?export=download&id=<MY_FILE_ID>");
but it doesn't work. What is the way to go?
  댓글 수: 2
Luca
Luca 2023년 11월 30일
Works like a charm. Thanks!

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Downloads에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by