0

I am using Putty to transfer files from my windows machine to Linux machine. I am able to transfer, when i run the script and also if i run the same script using Schedule task with my credentials.

if schedule the task to run using system account(SYSTEM) or other user account, file transfer not happening.

Do i need to save any session vales?

Ddev
  • 31
  • 3

1 Answers1

0

PuTTY saves session information in the registry for the current user only, this information will simply be not available for the other accounts you mentioned. So you either need to provide them by exporting yours and importing them in the other user's accounts or simply provide everything needed on the shell command invoked to copy your files. The latter sounds much easier to me in combination with a little script which gets invoked by the task scheduler.

Thorsten Schöning
  • 2,588
  • 17
  • 34