フィルターのクリア

my urlwrite does not work for a basic ask

1 回表示 (過去 30 日間)
Ricardo MF
Ricardo MF 2019 年 2 月 15 日
コメント済み: Ricardo MF 2019 年 2 月 15 日
url_c='http://www.rad.cvm.gov.br/ENETCONSULTA/frmDownloadDocumento.aspx?CodigoInstituicao=1&NumeroSequencialDocumento=67694'
urlwrite(url_c,'c_file.zip')

採用された回答

Walter Roberson
Walter Roberson 2019 年 2 月 15 日
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.
  2 件のコメント
Ricardo MF
Ricardo MF 2019 年 2 月 15 日
Thank you, Walter Roberson. The same for me. My browser can download it but urlwrite() fails. Would there be a dos or windows command that i could run to escape this problem?
Ricardo MF
Ricardo MF 2019 年 2 月 15 日
Solved the problem, in terms, with web(url_c,'-browser'), that download the file, not in the desired directory, but it is fine. Thank you.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDownloads についてさらに検索

タグ

製品


リリース

R2014a

Community Treasure Hunt

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

Start Hunting!

Translated by