BookmarkSubscribeRSS Feed
ANLYNG
Pyrite | Level 9

We need to transfer from Enterprise Guide/SAS code  from local SAS/Linux server to a SFTP site.

We want to recursive put files and directories from a folderpoint on linux to same structure below a folderpoint on a SFTP.

 

How is that done most easily ? I prefer a command to execute from enterprise guide eg. OS Linux command by x command?

 

Thanks in advance.

1 REPLY 1
Kurt_Bremser
Super User

In order to use sftp (or any command from the SSH suite), you first must set up passwordless authentication to the target site. Which means creating a public/private key pair and store that in the appropriate locations on both server and client. This is necessary because you cannot specify passwords on the commandline for all these commands.

after that, it is just using scp as documented, e.g. here.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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