I have one folder in sas server. I am able to transfer particular file from sas server to Linux,UNIX servers using
%sysexec or x command .
How to transfer folder from sas server to Linux,Unix servers
Can you try explaining the problem in a different way? It sounds like you are asking how to do something you just said you know how to do already.
I am able to transfer particular file like txt,pdf,xlsx but ow to transfer one folder from sas server to Linux,Unix servers
Pkease show the code you use for one particular file, so we can find ways to expand on that.
ex:
%sysexec scp D:\file1\profit.xlsx F:/file2 ;
Note: File will transfer to 'F' drive
So you do not even copy across servers, but to a network share (there is no user@hostname: prefix in your scp command)?
Then you can use the venerable xcopy to copy a complete directory tree.
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!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.