BookmarkSubscribeRSS Feed
3 REPLIES 3
darrylovia
Quartz | Level 8
Amber
use the FILENAME statement with the FTP option. For example from the online documentation. http://support.sas.com/onlinedoc/913/docMainpage.jsp

filename anon ftp '' ls host='130.96.6.1'
user='anonymous';

data _null_;
infile anon;
input;
list;
run;


-Darryl
deleted_user
Not applicable
Thanks for your reply, from the sample 8 and sample on http://support.sas.com/onlinedoc/913/getDoc/en/lrdict.hlp/a000178980.htm I know we can transport a local library to a FTP site, and we can create transport library directly on a FTP site, but they are Transport Libraries, so they have limitations. Is there a way to write ordinary data sets directly to FTP sites, that is to treat datasets as external files, not through the XPORT engine.
darrylovia
Quartz | Level 8
Could have SAS use the operating system to copy your SAS file in binary mode up to the ftp site?

Catch up on SAS Innovate 2026

Dive into keynotes, announcements and breakthroughs on demand.

Explore Now →
Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1638 views
  • 0 likes
  • 2 in conversation