Hi all,
I'm trying to import a file directly from the internet and I keep getting the following error:
The webpage is the following: https://www.economia.gob.ar/dnap/recursos.html
although the file is not directly downloaded from there
and the URL of the file I would like to import to Stata is the following: https://www.economia.gob.ar/dnap/rec...net_diario.xls
This URL directly downloads an excel file once you type it in the internet browser.
But when I run the following line:
or
or
I always get the same error that I cited above. Does anyone know what could be the problem and how to solve it?
Thanks!
I'm trying to import a file directly from the internet and I keep getting the following error:
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderE xception: unable to find valid certification path to requested target
although the file is not directly downloaded from there
and the URL of the file I would like to import to Stata is the following: https://www.economia.gob.ar/dnap/rec...net_diario.xls
This URL directly downloads an excel file once you type it in the internet browser.
But when I run the following line:
Code:
insheet using "https://www.economia.gob.ar/dnap/recursos/ron/montos_diarios/2021/enero2021/internet_diario.xls"
Code:
import excel using "https://www.economia.gob.ar/dnap/recursos/ron/montos_diarios/2021/enero2021/internet_diario.xls"
Code:
tempfile prueba copy "https://www.economia.gob.ar/dnap/recursos/ron/montos_diarios/2021/enero2021/internet_diario.xls" "Prueba.xls"
Thanks!
Comment