Winscp script not connecting but session fine via GUI
There is a session created using ftps to connect to a 3rd party. The connection is fine when using the GUI although sometimes it can take over 10 seconds or it can fail but then a reconnect makes the connection connect fine.
Whn calling hte same session via a batch script it more than often fails to connect.
I have tried increasing the timeout on the session from 15 to 45 seconds however the connection still fails in the batch script. When I try the GUI the connection works usually 1st time.
Is there a switch that can be used to help the connection reconnect if it initially fails when run in batch mode? Log below
batch continue
reconnecttime 120
confirm off
Connecting to xxx.xx.xxx.xxx:990 ...
TLS connection established. Waiting for welcome message...
Connection failed.
Using TLSv1, cipher TLSv1/SSLv3: AES128-SHA, 2048 bit RSA
Disconnected from server
Connection failed.
confirm off
No session.
Whn calling hte same session via a batch script it more than often fails to connect.
I have tried increasing the timeout on the session from 15 to 45 seconds however the connection still fails in the batch script. When I try the GUI the connection works usually 1st time.
Is there a switch that can be used to help the connection reconnect if it initially fails when run in batch mode? Log below
batch continue
reconnecttime 120
confirm off
Connecting to xxx.xx.xxx.xxx:990 ...
TLS connection established. Waiting for welcome message...
Connection failed.
Using TLSv1, cipher TLSv1/SSLv3: AES128-SHA, 2048 bit RSA
Disconnected from server
Connection failed.
confirm off
No session.