Downloading file using HTTP GET request

4 vues (au cours des 30 derniers jours)
Luca
Luca le 30 Nov 2023
Commenté : Luca le 30 Nov 2023
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 commentaires
Walter Roberson
Walter Roberson le 30 Nov 2023
Luca
Luca le 30 Nov 2023
Works like a charm. Thanks!

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Downloads dans Help Center et File Exchange

Produits


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by