LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (October 2002, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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

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: >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 >> >> >> >> (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. >> >

Back to: Top of message | Previous page | Main SAS-L page