Determine if password is incorrect

Advertisement

gjs
Joined:
Posts:
9

Determine if password is incorrect

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.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Determine if password is incorrect

There's no definite way for tell this.

Reply with quote

gjs
Joined:
Posts:
9

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.

Reply with quote

Advertisement

You can post new topics in this forum