Let plink use winscp's session? How winscp maintain session?
Hi,
Is there a way to use winscp's already logged in session with plink? How does winscp maintain state when scp is a stateless protocol?
I have a script on windows that uploads a whole bunch files (file and directory names are dynamic) to a remote server. Currently I'm using plink + pageant, this works although I'm using ssh keys and it's still somewhat of a hassle. It'd be nice if I could just keep winscp running and let the script use that already logged in session.
I'm thinking of incorporating winscp3.exe into the script to use instead of plink although the command lines args aren't performing the same way plink did.
The only other thing I can think of is to have my script dynamically write a script to a temporary file and then pass that file to winscp like:
winscp3 /console /script generated_temp.file
Is there a way to use winscp's already logged in session with plink? How does winscp maintain state when scp is a stateless protocol?
I have a script on windows that uploads a whole bunch files (file and directory names are dynamic) to a remote server. Currently I'm using plink + pageant, this works although I'm using ssh keys and it's still somewhat of a hassle. It'd be nice if I could just keep winscp running and let the script use that already logged in session.
I'm thinking of incorporating winscp3.exe into the script to use instead of plink although the command lines args aren't performing the same way plink did.
The only other thing I can think of is to have my script dynamically write a script to a temporary file and then pass that file to winscp like:
winscp3 /console /script generated_temp.file