Retry connection to ftp server?

Advertisement

jcsweat
Joined:
Posts:
1

Retry connection to ftp server?

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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,442
Location:
Prague, Czechia

Re: Retry connection to ftp server?

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

Reply with quote

davidmartin123
Joined:
Posts:
5
Location:
London, UK

Re: Retry connection to ftp server?

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

Reply with quote

Advertisement

You can post new topics in this forum