I am having a problem in running the batch file in winscp using script having details like the host name, path where the file is gonna be stored, etc..
The actual scenerio is if that script file run's or executes successfully then only the
the batch file will work.
I am looking for a code or syntax which will connect that host using ppk file.
"open ""My session""" "put ""C:\Documents and Settings\martin\Documents\myfile.dat"""
open email@example.com /privatekey=mykey.ppk
I have ppk file so I guess the second one is the right one.... but still that code looks wrong and whenever I am running batch file its not working.....
Please help me with this...
Last edited by sandy_0581 on 2011-03-21 15:45; edited 1 time in total