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?

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register 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
  • 1410 views
  • 0 likes
  • 2 in conversation