Topic "WinSCP.SessionRemoteException:Connection has been unexpected"

Author Message
naren54783
[View user's profile]

Joined: 2014-12-22
Posts: 6
Location: Narendra Patel
We are using WinSCP.dll in C#.net to download files from sFTP server.


We have multiple calls to the sFTP for downloading the files.
Frequency duration for sFTP call is 10 seconds.
Due to high call frequencies we are getting below error:
"WinSCP.SessionRemoteException: Connection has been unexpectedly closed. Server sent command exit status 0. ---> WinSCP.SessionRemoteException: Authentication log (see session log for details): Using username "abc". Access denied. Authentication failed."

WinSCP 5.5.6(Build 4746).

Please suggest if you have any information.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Not sure what information you want. It's your server that denies you the access. You should know why. If not, please inspect the server's log.
_________________
Martin Prikryl
Guest




prikryl wrote:
Not sure what information you want. It's your server that denies you the access. You should know why. If not, please inspect the server's log.



If we reduce the sFTP call frequency to 2 minutes instead of 10 seconds than we are not getting this error frequently.

Due to multiple sessions in short timespan is causing this issue.
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