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

Good morning.  I have created a copy task that uses a variables to define the paths of the files I need to download. 

 

elwayfan446_0-1611757742545.png

 

The macros resolve fine and the files download but I get the following error in the log:

ERROR: Download exception occurred. Error while trying to get remote file.

 

When I open the .xlsx files that download I get the following message:

 

elwayfan446_0-1611763047245.png

 

If I transfer the files via sftp directly to my network drive the files open normally without an error so something appears to be happening during the download in the copy task.  Has anyone ever seen this and is there a fix?

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisHemedinger
Community Manager

Should not matter, but your SASApp looks like Linux so use a forward slash in the Download from field.

 

This task emits lots of messages in the Application Log, so turning that on in Tools->Options might reveal something. It's a lot to decipher, so SAS Tech Support might be able to help at that point.

Register for SAS Innovate 2025!! The premier event for SAS users, May 6-9 in Orlando FL. Sign up now for the best deals!

View solution in original post

4 REPLIES 4
ChrisHemedinger
Community Manager

Can you change the download spec to "*.xlsx" (note the dot before "xlsx")?  Does that help?

Register for SAS Innovate 2025!! The premier event for SAS users, May 6-9 in Orlando FL. Sign up now for the best deals!
elwayfan446
Barite | Level 11

Thanks, I didn't catch that before.  However, I changed it and I am still having the same issues.

ChrisHemedinger
Community Manager

Should not matter, but your SASApp looks like Linux so use a forward slash in the Download from field.

 

This task emits lots of messages in the Application Log, so turning that on in Tools->Options might reveal something. It's a lot to decipher, so SAS Tech Support might be able to help at that point.

Register for SAS Innovate 2025!! The premier event for SAS users, May 6-9 in Orlando FL. Sign up now for the best deals!
elwayfan446
Barite | Level 11

The forward slash fixed the issue!  I've never seen anything that indicates a forward slash is needed on a wildcard macro like this in EG so I didn't even think to try that.  I appreciate the suggestion and ultimately helping me figure out how to fix this!

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

Register now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 3959 views
  • 2 likes
  • 2 in conversation