Differences

This shows you the differences between the selected revisions of the page.

2007-04-10 2007-05-29
4.0 ui_login_tunnel (martin) keepalives with ftp (martin)
Line 16: Line 16:
Some servers (and also firewalls and routers on the way between the client and the server) disconnect client if they does not receive any data from it for defined period. In //Keepalives// box you may order WinSCP to send some dummy data in regular periods to avoid the disconnection. The period is defined by //Seconds between keepalives//. Some servers (and also firewalls and routers on the way between the client and the server) disconnect client if they does not receive any data from it for defined period. In //Keepalives// box you may order WinSCP to send some dummy data in regular periods to avoid the disconnection. The period is defined by //Seconds between keepalives//.
-WinSCP implements two methods for keepalives. Basic option is to send SSH-level keepalives implemented by null SSH packets (SSH ignore messages). Some servers may be configured not to count these packets as data and thus they will still disconnect clients sending them. Also if you use SSH-1 and your server suffers [[ui_login_bugs#chokes_on_ssh-1_ignore_messages|"SSH-1 ignore message" bug]], this method will not work. +WinSCP implements two methods for keepalives. For SFTP and SCP, the basic option is to send SSH-level keepalives implemented by null SSH packets (SSH ignore messages). Some servers may be configured not to count these packets as data and thus they will still disconnect clients sending them. Also if you use SSH-1 and your server suffers [[ui_login_bugs#chokes_on_ssh-1_ignore_messages|"SSH-1 ignore message" bug]], this method will not work.
-As an alternative WinSCP can send dummy commmands of the transfer protocol instead. For SFTP it is implemented as canonisation of path ''/''. For SCP it is implemented as ''echo'' command.·With SCP this keepalive method does not work while WinSCP waits for user prompt in the middle of file transfer.+As an alternative WinSCP can send dummy commmands of the transfer protocol instead. For SFTP it is implemented as canonisation of path ''/''. For SCP it is implemented as ''echo'' command.((With SCP this keepalive method does not work while WinSCP waits for user prompt in the middle of file transfer.)) For FTP it is the only option and is implemented as randomly selected FTP protocol command with no effect.
===== Internet Protocol Version  ===== ===== Internet Protocol Version  =====

Last modified: by martin