Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

jesus2099

Offline mode a la smartFTP

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.
martin

Re: Any news about auto-reconnect?

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 separate dialog-window. After that, we must restart the whole script because of the error message...

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.
alexbela

Any news about auto-reconnect?

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 separate dialog-window. After that, we must restart the whole script because of the error message
Zeitüberschreitung beim Warten auf den Abschluß der Befehlsausführung

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
Uberadri

4.1 beta works perfectly! :D Solved the problem. Thanks for the program and keep up the good work!
martin

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.
Uberadri

Any progress?... Would someone like to make a script as a temporarily solution?
martin

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.
Totti

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

W.Ed. wrote:

Testing...

Anything new? :-)
Nielsen

Same problem here

Great if this bug could be solved....
Totti

same Problem

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

Would be looking forward to a fix :)
W.Ed.

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! :) 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...
Uberadri

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! :) 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.

martin 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
martin

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.
W.Ed.

martin 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

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.
W.Ed.

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

Re: Reconnect

This issue is being tracked already.
V_eron

Reconnect

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 :)