Topic "Keeping a session alive..."

Author Message
Guest

Guest


Although I've configured WinSCP to send NULL packets to keep the session alive, I keep getting disconnected after about 40-60 seconds of inactivity. This does not happen with my other FTP clients.

Please see the clip below from the log file showing when the connection gets lost, even while the keepalive packets are being regularly sent.

Any suggestions?

Thanks!
Mark

---
. Pinging host to keep session alive.
. Sending special code: 15
. Pinging host to keep session alive.
. Sending special code: 15
. Pinging host to keep session alive.
. Sending special code: 15
. Pinging host to keep session alive.
. Sending special code: 15
. File: "/usr/www/users/xxxxxxxx"
. Copying "/usr/www/users/xxxxxxxx" to local directory started.
. Binary transfer mode selected.
. Opening remote file.
> Type: SSH_FXP_OPEN, Size: 61, Number: 5635
. Network error: Connection reset by peer
-----
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Guest wrote:
Although I've configured WinSCP to send NULL packets to keep the session alive, I keep getting disconnected after about 40-60 seconds of inactivity.

The NULL packets are just notification to server that client is still alive, so it is worthe to keep connection open. However server may ignore them.

Quote:
This does not happen with my other FTP clients.

What clients?
_________________
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