Date: Wed, 30 Oct 2002 15:37:18 -0500
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
Subject: Re: Use Sas to ftp get
My FTP Access Method tutorial is available at
On Wed, 30 Oct 2002 10:01:47 -0600, Kevin Myers <KevinMyers@AUSTIN.RR.COM>
>I'd be interested in some examples also, especially regarding use of the
>----- Original Message -----
>From: "Chuck Enright" <cfedata@HOTMAIL.COM>
>Sent: Wednesday, October 30, 2002 8:14 AM
>Subject: Re: Use Sas to ftp get
>> Thank you for the assistance.
>> When you have time, I would appreciate some examples as described below.
>> firstname.lastname@example.org (Richard Graham) wrote in message
>> > Actually I use this methodology to ftp a great number of files from an
>> > site. Using the ftp access method in SAS, I obtain a directory listing
>> > the files on the FTP site and store in a SAS data set. I then use the
>> > 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
>> > one can always put in logic to filter out files they don't want to
>> > 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
>> > FTP site and loading into SAS data sets. If you are interested , I can
>> > provide examples.