Bookmark and Share

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]

Re: st: RE: download a file from a secure website


From   Nick cox <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: RE: download a file from a secure website
Date   Sat, 5 Feb 2011 12:30:11 +0000

Good question. I've not done that that I can remember.

Nick

On 4 Feb 2011, at 19:22, "Dimitriy V. Masterov" <[email protected]> wrote:

Nick,

Are you able to grab a file from a secure https site (not just http)
with copy? I am curious to see if this is Windows issue, a network
issue, or a Stata issue.

DVM

On Fri, Feb 4, 2011 at 2:15 PM, Nick Cox <[email protected]> wrote:
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/


*
*   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/
*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index