Topic "Determine if password is incorrect"

Author Message
gjs
[View user's profile]

Joined: 2012-07-11
Posts: 10
Is there any way to positively determine if the reason a WinSCP.SessionRemoteException has been thrown is because the password is incorrect? I see that "Access Denied" and "Authentication Failed" are returned in the session.output collection of strings, will this only (and always) occurr if the password is incorrect?

Thanks for any help.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
There's no definite way for tell this.
gjs
[View user's profile]

Joined: 2012-07-11
Posts: 10
OK, thanks for letting me know. I think this would be a good feature to add as the user never thinks they have typed in their password incorrectly.
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