Password Prompt

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Don Jones Don Jones 2 months, 2 weeks ago.

  • Author
    Posts
  • #65974
    Profile photo of Ri
    Ri
    Participant

    Hi,

    I have a powershell script that works OK – however, the WinSCP requests password re-entering after couple of hours. When this happens the powershell script stops and the transfer of files is terminated.

    I want to the script to continue when the password is prompted by WinSCP – How can I achieve that in the code?

    Thanks

  • #66121
    Profile photo of Don Jones
    Don Jones
    Keymaster

    Your script would need to trap that error condition and re-submit the password.

You must be logged in to reply to this topic.