Use opened session with different scripts
Hi,
I'm facing some problem to use an opened session on an unix server. We use a securID so the password changes every minute.
How is it possible to run several scripts for the same session but not at the same time?
For exemple :
Batch file :
Test_sending.bat
WinScp.exe MyUnixServer /console /command /script=C:\Test\send_file_1.txt
Scripts files :
send_file_1.txt :
option transfer binary
put C:\Test\my_file_1.txt /home/test/my_file_1.txt
send_file_2.txt :
option transfer binary
put C:\Test\my_file_2.txt /home/test/my_file_2.txt
Batch file is run (enters for the first time the password) and some minutes later we have to run the second script file. How to use the first session opened?
I'm facing some problem to use an opened session on an unix server. We use a securID so the password changes every minute.
How is it possible to run several scripts for the same session but not at the same time?
For exemple :
Batch file :
Test_sending.bat
WinScp.exe MyUnixServer /console /command /script=C:\Test\send_file_1.txt
Scripts files :
send_file_1.txt :
option transfer binary
put C:\Test\my_file_1.txt /home/test/my_file_1.txt
send_file_2.txt :
option transfer binary
put C:\Test\my_file_2.txt /home/test/my_file_2.txt
Batch file is run (enters for the first time the password) and some minutes later we have to run the second script file. How to use the first session opened?