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
It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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