Topic "Retry connection to ftp server?"

Author Message
jcsweat
[View user's profile]

Joined: 2014-05-07
Posts: 1
I'm trying to write a VBScript for this. I would like to try the connection to the FTP server again in the even it times out. I would like to try it a few times before ending the script. Does Winscp have a class or method that I can pass a number of times to retry the connection? Or do I just need to incorporate a while loop into the script to try the connection multiple times? How can I best achieve what I'm trying to do?

Thank all...
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
WinSCP should retry on its own. Supposing you use reasonably recent version. If it does not, please attach a full log file showing that (using the latest version of WinSCP).
davidmartin123
[View user's profile]

Joined: 2014-06-25
Posts: 5
Location: London, UK
prikryl wrote:
WinSCP should retry on its own. Supposing you use reasonably recent version. If it does not, please attach a full log file showing that (using the latest version of WinSCP).

I agree with you as it's the only way to resolve this problem.
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