Topic "Hang when PutFiles using .NET assembly"

Author Message
rs199483

Guest


I'm using the .NET assembly to upload files to my test SFTP server. This part is working fine. I wanted to see what would happen if I turn the SFTP server off during a call to session.PutFiles. The method just hangs and never returns. I've tried adjusting the session timeout but this has no effect.

I would expect some sort of timeout to happen and have it return control back to my application but this is not the case.

Is this a known issue?

Thanks
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
WinSCP is trying to reconnect indefinitely on the background.
The next version will allow limiting time it tries to reconnect:
https://winscp.net/tracker/show_bug.cgi?id=860
_________________
Martin Prikryl
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