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


Hi All,

I have a local library assigned xyz 'c:\'; and have data set under it. I have same library xyz -preassigned on SASApp and wants to transfer that datasets from local xyz library ro SASApp xyz library.

how can i do that? please advise.

Thanks,

sandip.

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisHemedinger
Community Manager

The easiest method is to use Tasks->Data->Upload Data Files to server...

This allows you to point to your local file path (no library needed) and copy the file to your SASApp library.  EG manages the file transfer.

If you want a pure code solution, you would need to use SAS/CONNECT to establish a remote library connection from your Local SAS session to your remote SASApp session.  In that case, your local SAS is the client and your remote SASApp is the server.

Chris

Become an Explorer! Join SAS Analytics Explorers to learn and complete challenges that earn rewards!

View solution in original post

3 REPLIES 3
ChrisHemedinger
Community Manager

The easiest method is to use Tasks->Data->Upload Data Files to server...

This allows you to point to your local file path (no library needed) and copy the file to your SASApp library.  EG manages the file transfer.

If you want a pure code solution, you would need to use SAS/CONNECT to establish a remote library connection from your Local SAS session to your remote SASApp session.  In that case, your local SAS is the client and your remote SASApp is the server.

Chris

Become an Explorer! Join SAS Analytics Explorers to learn and complete challenges that earn rewards!
sas_9
Obsidian | Level 7

Thanks a lot Chris, that was quick and great help.

Wang_Yajun
Obsidian | Level 7
Hi, ChrisHemedinger I'm also interested in the question. I am acquainted with click-run method in SAS Enterprise Guide , but I wonder whether there is any possible way(such as FTP method ) to upload the files in the local directory to SAS EG server. If possible, could you please show me a sample code? Thanks a lot.

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore 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
  • 3 replies
  • 5374 views
  • 0 likes
  • 3 in conversation