DATA Step, Macro, Functions and more

How to read file from Remote Host

New Contributor
Posts: 3

How to read file from Remote Host

Hi All,
Can any one help me on reading a file from Remote Host, when I have tried executing the codes which were on Support sites I was getting an error "Connection Refused", so kindly send me a SAS code to read a file from remote host.
Super Contributor
Super Contributor
Posts: 3,176

Re: How to read file from Remote Host

Posted in reply to samuelallu
Better that you share your SAS code that does not work, and COPY/PASTE the exact SAS-generated log that reveals all code and associated SAS diagnostic messages. It's likely that you may not have authority/permission to access the file on the remote-host, unless you can demonstrate outside of SAS the same capability, such as with a native FTP client.

Best bet to share the code and log for effective assistance / guidance from forum subscribers.

Scott Barry
SBBWorks, Inc.
Ask a Question
Discussion stats
  • 1 reply
  • 2 in conversation