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: download a file from a secure website
From 
 
"Dimitriy V. Masterov" <[email protected]> 
To 
 
Statalist <[email protected]> 
Subject 
 
st: download a file from a secure website 
Date 
 
Fri, 4 Feb 2011 14:03:24 -0500 
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.
DVM
*
*   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/