Topic "Scripting a required password change"

Author Message
DataPorter

Guest


I have a script that logs into an SFTP server and uploads and downloads files. Periodically the server wants a password change. Is it possible to script the password change? Thanks an advance for any advice!
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
No, WinSCP does not support automatic password change.
Guest




Thank you very much for your reply and all your hard work.
Is it possible for the script to know that a password change has been requested? So it can at least tell the operator to change it?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
WinSCP does indicate the password change request by an exit code, if that's what you mean.

All you can do is to parse the script output to find the password change prompt.
Guest




Thank you!
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License