Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: reading data from ftp site?


From   "Austin Nichols" <[email protected]>
To   [email protected]
Subject   Re: st: reading data from ftp site?
Date   Thu, 25 Jan 2007 10:37:09 -0500

Paulo--
There are probably several platform-specific approaches.  One is to
"map an ftp server as a drive" or whatever the equivalent operation is
in your OS.  In various flavors of Windows, there are several apps
that can map a drive letter to an ftp server, at which point the
standard infiling commands should work fine.

On 1/25/07, Paulo Guimaraes <[email protected]> wrote:
Dear Stata users,

I would like to know if it is possible to read data directly from an ftp
site.
My interest in this is because I need to access some flat files at the BLS
web site.
Right now what I do is to open the file in my web browser and then save it
and insheet it into Stata.
For example, to read the employment time series for the state of Alabama I
need to open the file in my web browser
with the command:
ftp://ftp.bls.gov/pub/time.series/sm/sm.data.1.Alabama
and then save it and read it into Stata.
Is it possible to read the data directly from within Stata?

thank you

Paulo Guimaraes
Division of Research
Moore School of Business
803-777-5985


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index