自动重新连接会话,如果它在空闲时中断,在 WinSCP 脚本中
Automatically reconnect session, if it breaks while idle, in WinSCP scripting
在 WinSCP 脚本中,我们可以控制断开连接时的自动重试尝试(就像 GUI 版本一样)。脚本 option reconnecttime
看起来相当于 "Automatically reconnect session, if it breaks during transfer."
我的问题是,GUI 中 "Automatically reconnect session, if it breaks while idle" 选项的等效脚本是什么?
设置中的"Endurance"菜单下列出了这些选项。
GUI 选项脚本中没有等效选项 Automatically reconnect session, if it breaks while idle。
使用脚本时,会话通常不会空闲。
脚本也不支持初始连接重试。虽然很容易实现它。参见 Retrying connection attempt。
在 WinSCP 脚本中,我们可以控制断开连接时的自动重试尝试(就像 GUI 版本一样)。脚本 option reconnecttime
看起来相当于 "Automatically reconnect session, if it breaks during transfer."
我的问题是,GUI 中 "Automatically reconnect session, if it breaks while idle" 选项的等效脚本是什么?
设置中的"Endurance"菜单下列出了这些选项。
GUI 选项脚本中没有等效选项 Automatically reconnect session, if it breaks while idle。
使用脚本时,会话通常不会空闲。
脚本也不支持初始连接重试。虽然很容易实现它。参见 Retrying connection attempt。