BookmarkSubscribeRSS Feed
Andrea-Smith
Calcite | Level 5

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 */

3 REPLIES 3
LinusH
Tourmaline | Level 20

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).

Data never sleeps
Andrea-Smith
Calcite | Level 5
Thank you for the information. It seems that direct code access to the download feature might not be available, and it relies on having access to a file share from the SAS Server. If you have any further questions or if there's anything specific you're trying to achieve, please let us know. We're here to help

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

Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

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
  • 1458 views
  • 0 likes
  • 3 in conversation