Instead of waiting for answers, I decided to write my own class to handle this. I also wrote a utility function to download public files from Google Drive, and a progress bar to visualize download progress. What a fun day!
Managing RESTful web sessions using cookies in MATLAB
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Oliver Woodford
le 6 Nov 2025
Réponse apportée : Oliver Woodford
le 7 Nov 2025
I'm trying to download a file from the web, programmatically in MATLAB. The issue I have is that the file requires some authentication via session cookies.
MathWorks provide some example code on how to do this, but it's pretty clunky. What do you use when facing this issue? Are there any good open source (e.g. File Exchange) packages that you can recommend to handle the communication? I couldn't find any, which I found surprising.
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Downloads dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!