Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: RE: download a file from a secure website
From
Nick Cox <[email protected]>
To
"'[email protected]'" <[email protected]>
Subject
st: RE: download a file from a secure website
Date
Fri, 4 Feb 2011 19:15:39 +0000
I've always used -copy-. That's at the heart of -ssc- which was written to do this for a particular website. But I've never used it under Windows 7.
Nick
[email protected]
Dimitriy V. Masterov
Is there a way to download a file from a secure website using Stata?
I tried copy "https://www.XYZ..." data.txt, but that generates an
unknown network protocol error.
I also tried using wget as described here
(http://www.andrewdyck.com/download-and-unzip-data-files-from-stata/),
but that method appears to fail for any sort of website.
I am using Stata 11.1 on 64-bit Windows 7. I use a proxy to access the
internet.
I am not doing anything shady if that is a concern.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/