in my company , in our user screens which is in windows o.s we do ftp to get file(excel,word,etc..) from server to local or put some files to unix server..now we migrate ftp process to sftp.
current ftp process been coded with "ftp -s:'somepath/ftpFile.txt' ". When user click print or some buttons, code first create ftpFile.txt under C: folder then run it for doing ftp to unix server
ftpFile.txt look like this:
username
password
lcd somepath/
cd someotherpath/
get/put somefile
quit
Now we need to migrate this to sftp . but i can not see '-s' pattern for using file in sftp . How can i do same with sftp?
My 2. question is , Our windows server is 2012 and there is no ssh client installed in it , which ssh client should i install to manage same process with sftp.
Thanks all.