Desktop productivity for business analysts and programmers

FTP process from one server to another server

Reply
N/A
Posts: 0

FTP process from one server to another server

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
Trusted Advisor
Posts: 2,114

Re: FTP process from one server to another server

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
SAS Super FREQ
Posts: 8,814

Re: FTP process from one server to another server

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
Community Manager
Posts: 2,882

Re: FTP process from one server to another server

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
Ask a Question
Discussion stats
  • 3 replies
  • 108 views
  • 0 likes
  • 4 in conversation