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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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