I'm currently working on a task that involves listing all the files in a specific folder and then downloading the entire directory of SAS files using SAS Studio or SAS on Demand. This is a bit of a challenge for me, and I could really use some expert guidance.Here's an example of what I've attempted so far to list the files:
/* Code to list files */
/* Insert SAS code tool */
There's a Download option available in the UI.
But I don't think you can access that via code.
To be able to "download" files you need access to a file share from your SAS Server (assuming you are not using a single user local PC SAS Studio).
April 27 – 30 | Gaylord Texan | Grapevine, Texas
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!
Get started using SAS Studio to write, run and debug your SAS programs.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.