Topic "keep alive while in editor"

Author Message
vlad

Guest


Hi Martin,

I saw you added some support for the editors in WinSCP (as stand alone app) and I'm curiouse is there any plans to make winscp (far plugin) maintain ssh session (keep alives) while working in far editor? It's pain in the a.. to lose the session after editor has been opened for a while.

thanks for a great job! Smile

p.s. from time to time I keep getting those odd errors while plugin tries to copy a file as a directory and giving error, sort of 'file.name is not a directory' - will turning on the logging help to track down the problem or there is something else to try?


Vlad.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
vlad wrote:
I saw you added some support for the editors in WinSCP (as stand alone app) and I'm curiouse is there any plans to make winscp (far plugin) maintain ssh session (keep alives) while working in far editor? It's pain in the a.. to lose the session after editor has been opened for a while.

Some months ago I've spent two days trying to implement keepalives for FAR editor. But I've found it almost impossible Sad

Quote:
p.s. from time to time I keep getting those odd errors while plugin tries to copy a file as a directory and giving error, sort of 'file.name is not a directory' - will turning on the logging help to track down the problem or there is something else to try?

Try the logging first. Thanks.
_________________
Martin Prikryl
KAZVorpal
[View user's profile]

Joined: 2007-09-04
Posts: 2
Location: http://360.yahoo.com/kazvorpal
prikryl wrote:

Some months ago I've spent two days trying to implement keepalives for FAR editor. But I've found it almost impossible :-(

Couldn't you simply tell it to do a background ls every N minutes?

Literally any activity would serve as a keepalive, right?

(added later:)

Oh, you guys were talking about using it as a plugin.

My question is about making WinSCP keep the secure ftp connection alive, so that I'm not getting the popup every few minutes warning me that it's disconnected, when I'm editing web pages remotely in UltraEdit.
Oleksiy

Guest


Putty does sending of null packets to keep session alive every xx seconds.
Probably this will help.

For me keeping alive session will be also useful.
Thanks.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
KAZVorpal wrote:
Couldn't you simply tell it to do a background ls every N minutes?

Literally any activity would serve as a keepalive, right?

Sure. But there's a hardly a way in FAR how to execute an action periodically while in editor.
_________________
Martin Prikryl
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
KAZVorpal wrote:
Couldn't you simply tell it to do a background ls every N minutes?

Literally any activity would serve as a keepalive, right?

Sure. But there's a hardly a way in FAR how to execute an action periodically while in editor.
_________________
Martin Prikryl
benfaust

Guest


Couldn't keep alive be an option that is run periodically whether or not a file is being edited? I otherwise love winscp, but have been looking for something else like it that keeps the connections, simply because this has caused so much trouble (beyond just a popup).
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
benfaust wrote:
Couldn't keep alive be an option that is run periodically whether or not a file is being edited? I otherwise love winscp, but have been looking for something else like it that keeps the connections, simply because this has caused so much trouble (beyond just a popup).

Problem is that FAR does not provide mechanism for plugin to perform periodical operations while in editor. Only way is to hook to "redraw" event. But that occurs only if something changes in the editor (e.g. when you type). But not when FAR is idle. Well at least something for the beginning.
Anyway, added to tracker.
_________________
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