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.
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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
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!
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.
Ready to level-up your skills? Choose your own adventure.