Downloading file using HTTP GET request

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 comentarios

Luca
Luca el 30 de Nov. de 2023
Works like a charm. Thanks!

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Downloads en Centro de ayuda y File Exchange.

Productos

Versión

R2023b

Etiquetas

Preguntada:

el 30 de Nov. de 2023

Comentada:

el 30 de Nov. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by