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?
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
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
Thanks—as mentioned, How to: List all the files in a folder and also Bulk Download all my files from SAS Ondemand answer this question.
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?
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.