BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Junyong
Pyrite | Level 9

At SAS OnDemand, I have multiple directories with multiple files, respectively, and want to download not one file but one directory.

(1) Neither right-clicking and downloading the directory nor clicking the download button with the directory selected is possible.

(2) I tried to zip all the files in the directory by reading the list via pipe, but pipe in SAS OnDemand is impossible.

Should I download each file at a time from SAS OnDemand?

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisNZ
Tourmaline | Level 20

One option:

1. Create a ZIP filename

2. Read the very first entry in the programming community, about fetching directory entries

3. For each entry, use function filename() then fcopy() to copy each file into the ZIP file

 

View solution in original post

4 REPLIES 4
ChrisNZ
Tourmaline | Level 20

One option:

1. Create a ZIP filename

2. Read the very first entry in the programming community, about fetching directory entries

3. For each entry, use function filename() then fcopy() to copy each file into the ZIP file

 

LauraRK
Quartz | Level 8
My Bulk Download all my files from SAS Ondemand post seems to be deleted? Or not accessible, would anyone know why I get an Access Denied Error? Is it just me?
LovettG
Calcite | Level 5

Hi:

I have the same question, but this answer lost me.  The very first entry on the Programming community appears to be on page 3,813 and it has nothing to do with fetching directory entries. Could you please help by specifying what we are supposed to do here? 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 4 replies
  • 2916 views
  • 2 likes
  • 4 in conversation