|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Thursday, April 04, 2013 10:36 PM
Points: 4,
Visits: 6
|
|
| I want to know the syntax of SFTP command that will execute by sql server job and what steps will I have to follow to do public key authentication ? I am using SFTP to transfer files from window server 2008 to another window server 2008.
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Monday, May 06, 2013 2:19 PM
Points: 5,
Visits: 51
|
|
There may be a way but I am not aware of one. I have done an FTP job inside of an SSIS package, SFTP was not an option with SSIS. I guess you could download WinSCP and write a batch script file to do the SFTP with keys. Then you could setup a SQL Job to call out xp_cmdshell to execute that WinSCP batch file. This is just the first thing that came to my mind. Hope this helps.
nitin.varshneya (2/13/2013) I want to know the syntax of SFTP command that will execute by sql server job and what steps will I have to follow to do public key authentication ? I am using SFTP to transfer files from window server 2008 to another window server 2008.
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Thursday, April 04, 2013 10:36 PM
Points: 4,
Visits: 6
|
|
Thanks for your information.
I am not able to find syntax to use SFTP with public key authentication .Can anybody help me ?
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 5:38 AM
Points: 344,
Visits: 601
|
|
This might help: psftp has a public key option.
http://the.earth.li/~sgtatham/putty/0.52/htmldoc/Chapter6.html
|
|
|
|