I just moved the options before the host and it fixed the issue! filename outfile sftp 'test.csv' CD ='/Class/' options="-p = 1000 -i = c:/PrivateKey.ppk" host="IPAddress" user="UserName" DEBUG ;
PROC EXPORT Data = info /* This is the dataset name */ OUTFILE= outfile DBMS=csv REPLACE; run;
... View more