HI! friends!
now,my sas is installed on a win7 OS PC,and i want to connect to a SFTP(linux) to read a csv_file(import a csv_file to my work library for data analysis);
i can read the csv_file by using putty, comand as follows:
GET /home/mypath/csv_file.csv
in BASE SAS, i tried to import the csv_file to my work library ,the code is just like this :
You need to set up public/private key authentication for that connection in putty. putty must not ask for a password when you test it from the commandline.
You need to set up public/private key authentication for that connection in putty. putty must not ask for a password when you test it from the commandline.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.
Find more tutorials on the SAS Users YouTube channel.