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?

Answers (0)

Categories

Products

Release

R2023b

Asked:

on 30 Nov 2023

Commented:

on 30 Nov 2023

Community Treasure Hunt

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

Start Hunting!