Topic "Reconnect"

Author Message
V_eron

Guest


Suggestion:

I would like an option (if possible) where winscp autoreconnects silently (without noticing me).
For example if connection=lost and doing something with server autoreconnect silently (instead of showing the reconnect question (or the autoreconnect in x seconds dialog))
else if connection=lost and no server interaction : stop keep alive and whenever negotiaton with the server is needed restore connection.

Because apparently i lose connection a lot with my server (free (ftp) server...). And the lost connection dialog boxes are starting to ennoy me Smile
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
This issue is being tracked already.
_________________
Martin Prikryl
W.Ed.
[View user's profile]

Joined: 2008-02-20
Posts: 8
There are some ftp servers disconnecting with "Disconnected from server
No Transfer Timeout (600 seconds): closing control connection."

Seems that CuteFTP "Smart keepalive" are working for it sending this commands:

pwd
rest 0
type I
type A
list
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
W.Ed. wrote:
There are some ftp servers disconnecting with "Disconnected from server
No Transfer Timeout (600 seconds): closing control connection."

Seems that CuteFTP "Smart keepalive" are working for it sending this commands:

pwd
rest 0
type I
type A
list

WinSCP does
pwd
rest 0
type a
type i

Hence the only difference is "list". Hard to tell if it can make any difference.
_________________
Martin Prikryl
W.Ed.
[View user's profile]

Joined: 2008-02-20
Posts: 8
prikryl wrote:
W.Ed. wrote:
There are some ftp servers disconnecting with "Disconnected from server
No Transfer Timeout (600 seconds): closing control connection."

Seems that CuteFTP "Smart keepalive" are working for it sending this commands:

pwd
rest 0
type I
type A
list

WinSCP does
pwd
rest 0
type a
type i

Hence the only difference is "list". Hard to tell if it can make any difference.


Can u make a test version for me with this differences?
I can test it on 2-5 servers.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
W.Ed. wrote:
Can u make a test version for me with this differences?
I can test it on 2-5 servers.

Ok, will do.
_________________
Martin Prikryl
W.Ed.
[View user's profile]

Joined: 2008-02-20
Posts: 8
prikryl wrote:
W.Ed. wrote:
Can u make a test version for me with this differences?
I can test it on 2-5 servers.

Ok, will do.


Look at your mailbox
Uberadri

Guest


Did you test it? Did it work? I loose connection with my server all the time due to "No transfer timeout", and this is extremely annoying when I'm using "Keep remote directory up to date". An improved keep alive function would be great! Smile But couldn't you solve it with a script that sends a small file to the server at a specified interval? How would you make such a script?
W.Ed.
[View user's profile]

Joined: 2008-02-20
Posts: 8
Uberadri wrote:
Did you test it? Did it work? I loose connection with my server all the time due to "No transfer timeout", and this is extremely annoying when I'm using "Keep remote directory up to date". An improved keep alive function would be great! Smile But couldn't you solve it with a script that sends a small file to the server at a specified interval? How would you make such a script?

Testing...
Totti

Guest


Heyho,
i'm encountering the same problem with the no transfer timeout after 300seconds.

Would be looking forward to a fix Smile
Nielsen

Guest


Great if this bug could be solved....
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
W.Ed. wrote:
Testing...

Anything new? Smile
_________________
Martin Prikryl
Totti

Guest


would be glad to test it, too ... could test it on the server i have problems with (as on the others it is working with the current version).
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
Totti wrote:
would be glad to test it, too ... could test it on the server i have problems with (as on the others it is working with the current version).

Can you provide me your email address, so I can send you a debug version of WinSCP to track the problem? If you do not want to post the address here, you can send me an email. You will find it in my forum profile (if you log in). Thanks.
Uberadri

Guest


Any progress?... Would someone like to make a script as a temporarily solution?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
Uberadri wrote:
Any progress?... Would someone like to make a script as a temporarily solution?

It was implemented in 4.1 beta already. Unfortunately it introduced another problem. So hopefully it will work in 4.1.1.
_________________
Martin Prikryl
Uberadri

Guest


4.1 beta works perfectly! Very Happy Solved the problem. Thanks for the program and keep up the good work!
alexbela

Guest


Hello, thanks for the great work.-
We're using WinSCP at a client's site for transferring backups to a remote server via SFTP. Therefore we wrote a simple transfer-script ("option batch on" "option confirm off" "put -delete \"%backupdir%\*.zip\" /home/%remoteuser%/backupsets/" "exit")
Unfortunately the client's site has dial-up internet-connection and has a mandatory reconnect after 24 hours.

Currently we're using WinSCP 4.1.15, but whenever the internet connection reconnects the script stops and shows the message "connection lost" in a seperate dialog-window. After that, we must restart the whole script because of the error message "Zeitberschreitung beim Warten auf den Abschlu der Befehlsausfhrung."

Is it possible (via an option for open and put, for example) to get the script try to reconnect and resume the file-transfer automatically?

thx in advance

Alex
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
alexbela wrote:
Currently we're using WinSCP 4.1.15, but whenever the internet connection reconnects the script stops and shows the message "connection lost" in a seperate dialog-window. After that, we must restart the whole script because of the error message "Zeitberschreitung beim Warten auf den Abschlu der Befehlsausfhrung."

Can you provide me your email address, so I can send you a debug version of WinSCP to track the problem? If you do not want to post the address here, you can send me an email. You will find it (if you log in) in my forum profile. Thanks.
_________________
Martin Prikryl
jesus2099
[View user's profile]

Joined: 2008-10-15
Posts: 2
Location: Paris
Hello,

Still on the reconnect topic.
My server keeps disconnecting me because of No Transfer Timeout.
Well I see no mistake here, it is normal not to keep connections open for long time.
In this way I think keep-alive is not a good choice (it doesn't work for my No Transfer Timeout anyway).

Instead I think it would be really cool if you could implement the offline mode like in smartFTP.

Once you browsed through the remote folders, the filelists are kept locally. Whenever the server wants to disconnect is not an issue, you can still browse through your known remote structure without being bugged by modal popups.

Then, right whenever needed (drag and drop transfer, rename, chmod, browse a new folder, refresh filelist), winSCP would just kindly reconnect before doing such an action.

This let the user not to care about connection, disconnection, reconnection difficulties.

I have a small hope to see this sometimes in winSCP as it is a feature that gets added on other clients sich as filezilla and smartFTP (which created the feature AFAIK).
I would be glad that it also comes here because the interface of WinSCP looks better to me, in some ways.
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