Topic "Server Time Out"

Author Message
Ramesh S Kaimal

Guest


Hi,
I am using SFTP to get a file from a server in my program.
For this i am using Winscp Scripting.
But when i run this script using a batch i am getting a feed back as "Host has not answered for 15 seconds".
How could i make the winscp to wait for more time say 2 minutes before its timed out.

Please advise.

Thanks in advance....
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24994
Location: Prague, Czechia
The timeout can be set longer on login dialog. Then create a stored session with the option set and open the session from script.
_________________
Martin Prikryl
Guest




prikryl wrote:
The timeout can be set longer on login dialog. Then create a stored session with the option set and open the session from script.


Is there any way that i can set this time out from the script. We need this badly because we cannot create session in all clients.
Guest




This is the script that i am using

option batch on
option confirm off
open sftp://user:pass@172.19.152.89:22
lcd C:\DOCS\
cd /home10/excer/Docs
option transfer ascii
get abcedsd.htm
close
exit

Is there any way to set the timeout from this script.

please advise
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24994
Location: Prague, Czechia
Please read FAQ.
_________________
Martin Prikryl
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