Topic "Server connection timeout requires user intput"

Author Message
mcooper

Guest


I'm trying to create a batch script, but if the server doesn't respond the interface asks for an (A)bort, (R)etry and hangs. I've tried every command line parameter I can find and nothing seems to stop it from asking for input. How do I resolve this?

Regards,

Michael
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Have you tried "option batch on" or "option batch abort"?
_________________
Martin Prikryl
Guest




Your idea got me thinking. Yes I did try those and they didn't work. I did find the issue though. My original command was:

c:\progra~1\winscp3\winscp3 user:password@xxx.xxx.xxx.xxx /command "option confirm off" "option batch abort" binary exit /console

The program was trying to connect before executing the option batch command. I changed the command line to

c:\progra~1\winscp3\winscp3 /command "option confirm off" "option batch abort" "open user:password@xxx.xxx.xxx.xxx" binary exit /console

This way I could control the when the open was happening. Thanks for your assistance.

Regards,

Michael
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