Dear Kit,
thank you, -wget- worked fine. I tried -telnet- before, but it was not
redirecting either.
I agree to the security provisions, but if the URL2 were accessible
for programmers, then I could decide within my program whether to
follow it or not. Since Stata currently extracts that new URL from the
server's response, I believe there is not too much cost of saving it
to an r() value. Relying on an external utility for this purpose
limits portability of the resulting .do file, and adds to testing,
maintanence and deployment headaches.
Thank you,
Sergiy Radyakin
On Thu, Oct 23, 2008 at 2:24 PM, Christopher Baum <[email protected]> wrote:
> < >
> In my prior posting the -wget- shell command should also have a full URL,
> i.e. http://www.foobar.com/whateverthefile.name
> In this sense the syntax of -curl- and -wget- for specifying what to
> retrieve is the same.
>
> http://www.gnu.org/software/wget/
> http://curl.haxx.se/
>
> Kit Baum, Boston College Economics and DIW Berlin
> http://ideas.repec.org/e/pba1.html
> An Introduction to Modern Econometrics Using Stata:
> http://www.stata-press.com/books/imeus.html
>
> *
> * 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/