Date: Wed, 30 Oct 2002 15:37:18 -0500
Reply-To: Howard_Schreier@ITA.DOC.GOV
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Howard_Schreier@ITA.DOC.GOV
Subject: Re: Use Sas to ftp get
My FTP Access Method tutorial is available at
http://www.ita.doc.gov/td/industry/otea/dcsug/ftp.pdf
On Wed, 30 Oct 2002 10:01:47 -0600, Kevin Myers <KevinMyers@AUSTIN.RR.COM>
wrote:
>I'd be interested in some examples also, especially regarding use of the
ftp
>directory. Thanks!
>
>s/KAM
>
>
>----- Original Message -----
>From: "Chuck Enright" <cfedata@HOTMAIL.COM>
>Newsgroups: bit.listserv.sas-l
>To: <SAS-L@LISTSERV.UGA.EDU>
>Sent: Wednesday, October 30, 2002 8:14 AM
>Subject: Re: Use Sas to ftp get
>
>
>> Richard,
>>
>> Thank you for the assistance.
>> When you have time, I would appreciate some examples as described below.
>>
>> Chuck
>> cfedata@hotmail.com
>>
>>
>> richardwgraham@earthlink.net (Richard Graham) wrote in message
>news:<003101c27fb8$f6e68e10$6701a8c0@GLENCAIRN1>...
>> > Actually I use this methodology to ftp a great number of files from an
>ftp
>> > site. Using the ftp access method in SAS, I obtain a directory listing
>of
>> > the files on the FTP site and store in a SAS data set. I then use the
>SAS
>> > data set to create macro variables of the filenames (i.e., f1...f150 or
>> > whatever). I then do a macro loop to process each of the files. Of
>course
>> > one can always put in logic to filter out files they don't want to
>process.
>> >
>> > I provided the code for what I do with .zip .Z, .gz etc type files.
>> > However, SAS's FTP access method is great for reading files directly
off
>the
>> > FTP site and loading into SAS data sets. If you are interested , I can
>> > provide examples.
>> >
|