BookmarkSubscribeRSS Feed
DaveShea
Lapis Lazuli | Level 10
Hi,

I am currently using EG 3.0 and want to build a bit of code or combination of task that let me take one or more text files stored on the UNIX server that hosts SASMain and transfer them to the local drive of my PC.

I do not have SAS installed on my local PC.

I am not allowed to initate an FTP session (either via X commands or the FTP Filename access) at this site.

The text files can be manually added to the EG Project and manually Save As'd from their to C:\Temp but there are many of these files and they change in number and name each day the job is run due to the nature of the data being processed.

How can I automate the process so that the text files can be stored on the local PC directory once the Project has finished ?

Cheers.

Down-under Dave.
Wellington
New Zealand
1 REPLY 1
ChrisHemedinger
Community Manager
I'm afraid that there isn't a built-in capability to help you here, especially since you cannot use the server-based FTP option or X command / SYSTASK.

It is possible to create a custom task to do the work. It would have to be fairly sophisticated, leveraging the SAS workspace APIs directly (particularly the FileService) to "download" the text files from the server file system to the local PC file system.

Chris
Check out SAS Innovate on-demand content! Watch the main stage sessions, keynotes, and over 20 technical breakout sessions!

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 574 views
  • 0 likes
  • 2 in conversation