Cannot get scripts to run
I have a Windows server I that want to automatically get a file from a Linux SSH server every night.
I have installed WinSCP3 on my Windows server and have it working fine with public Key & Pageant to my unix ssh server using the GUI interface.
Next I put this in a script named
I try running the script from command line like this:
But it brings up the GUI and does not do the file transfer.
How do I make this work each night in automated fashion?
I have installed WinSCP3 on my Windows server and have it working fine with public Key & Pageant to my unix ssh server using the GUI interface.
Next I put this in a script named
script.txt
:
option batch on option confirm off open mrtest@10.1.1.10 option transfer ascii get /home/mrtest/xfer/junk c:\trans\junk close exit
WinSCP3 /console /script=script.txt
How do I make this work each night in automated fashion?