A Blog on Analytics and Marketing

SAS, Marketing, Predictive Modeling, Statistics


Posted by phillippeng on September 29, 2008

Very often we need to work from home through VPN. The speed is fairly OK when you work on sas datasets through server. However, if you tried to move some non-sas files, it’s painfully slow. With PROC DOWNLOAD, you can use SAS as a ftp tool to move non-sas file much easier.


filename source ‘/sourcefolder/myfile.pdf’;
filename dest ‘/destinationfolder/myfile.pdf’;

proc download infile=source outfile=dest binary; run;


The BINARY option transfers files without any character translation (for example EBCDIC to ASCII) or insertion of record delimiters.

The simiar proc is PROC UPLOAD.

More information on this can be found from SAS site.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: