my urlwrite does not work for a basic ask
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Ricardo MF
le 15 Fév 2019
Commenté : Ricardo MF
le 15 Fév 2019
url_c='http://www.rad.cvm.gov.br/ENETCONSULTA/frmDownloadDocumento.aspx?CodigoInstituicao=1&NumeroSequencialDocumento=67694'
urlwrite(url_c,'c_file.zip')
0 commentaires
Réponse acceptée
Walter Roberson
le 15 Fév 2019
The server does an http 302 redirect to https, but urlwrite() does not process redirects.
That said, if I change to https in the filename then urlwrite() fails. If I switch to websave() I get a message about certificate verification failed. My browser can download it, so it could be a difference in root certificates that are recognized.
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!