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 件のコメント
Walter Roberson
Walter Roberson 2023 年 11 月 30 日
Luca
Luca 2023 年 11 月 30 日
Works like a charm. Thanks!

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeDownloads についてさらに検索

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by