Quantcast
Channel: SCN : Unanswered Discussions - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 3719

SFTP connection issues

$
0
0

Hi Experts,

 

I could able to connect to the Internal FTP site . But when i tried to connect to SFTP . It's throwing some error , i searched over SDN and in google

but i am not able to find any solutions.

 

2 methods i tried.

 

1st one : With out writing any script . Std : Format-Excel work book --> and giving the parameters . Attached is the error.

 

2nd method : By writing the script and calling it from with in the data services designer . Here the job is executing with no issues but the file

is not copied from FTP location to the Shared folder. But if i tried the same script from the command prompt , it working . Not sure what is going on .Can any experts help .Attached are the screen shots.

 

I tried to run the batch job in both the different ways . In both the cases the jobs are successful , but the file is not copied to the shared folder on the

network. Can experts please comment on this.

 

exec('/root/in/---folder/ZEMP.xlsx','d:\Scripts\sftp.bat',8 );

exec('cmd','D:\scripts\sftp.bat',8);

 

 

Thanks

Magge


Viewing all articles
Browse latest Browse all 3719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>