Error downloading URL. Your network connection may be down or your proxy settings improperly configured.
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello, I am using the function urlwrite to downlaod a lot of html pages in a for loop. As an example, following is the url of one of the webpages:
And I use the following code to download the webpage:
url=https://waterdata.usgs.gov/nwis/inventory/?site_no=03347000&agency_cd=USGS&
openfile=urlwrite(url,filename);
I get the following error:
Error using urlreadwrite (line 97)
Error downloading URL. Your network connection may be down or your proxy settings improperly configured.
Error in urlwrite (line 38)
[f,status] = urlreadwrite(mfilename,catchErrors,url,filename,varargin{:});
I have tried the solution provided on the link: https://www.mathworks.com/matlabcentral/answers/92506-how-can-i-configure-matlab-to-allow-access-to-self-signed-https-servers. Basically, I added the certificate for the webpage https://waterdata.usgs.gov/nwis/inventory/?site_no=03347000&agency_cd=USGS& (though, not sure if this what I was supposed to do).
Please let me know how to fix this probelm.
Note: I was able to use this code a year ago without this error.
1 Kommentar
Antworten (0)
Siehe auch
Kategorien
Mehr zu Downloads finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!