BookmarkSubscribeRSS Feed
deleted_user
Not applicable
i have some SAS data sets on serverA in directory "d:\myfolder" .
i want FTP process to transport all these SAS data sets on another server named as serverB.
on serverB I want to transport on another directory like "c:\RemoteFolder".

i have read the Help document but did not get appropriate solution


Thanks
3 REPLIES 3
Doc_Duke
Rhodochrosite | Level 12
If you just want to move the datasets, the easiest thing is to use the FTP tool that is on your servers. If you want to manage that from SAS, you can just use the "X" command to shell out for execution.

See "Using FTP to Transfer Files in Foreign Format and Transport Files across the Network" in the SAS 9.1.3 online documentation for an example. If you are working from machineC, you may need to first FTP the files to from A to C and then from C to B (depending on your rights on A or B).

Doc Muhlbaier
Duke
Cynthia_sas
Diamond | Level 26
However, before you investigate the 'X' command or try it, you might want to check with your SAS system administrators to see whether they've disabled the X command for SAS Enterprise Guide at your site.

cynthia
ChrisHemedinger
Community Manager
If you are using Enterprise Guide 4.1 to connect to both serverA and serverB, you can use the Download SAS Data Sets task to copy the data sets from serverA, and then the Upload SAS Data Sets task to place them on serverB. It's a two-hop maneuver, but you might be surprised at how fast it runs.

If you don't yet have the Upload/Download Data Set tasks -- they are an add-on for EG 4.1 -- you can download them from here:

http://www.sas.com/apps/demosdownloads/setupcat.jsp?cat=SAS+Enterprise+Guide

Chris
SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1117 views
  • 0 likes
  • 4 in conversation