Topic "host has not waswered more than 15 seconds..... abort"

Author Message
srini

Guest


Hi,

when I tried to copy some files from my remote server which is just FTP through batch scripting it is gining the below error...

Searching for host...
Connecting to host...
Host has not answered for more than 15 seconds. Still waiting...
Warning: Aborting this operation will close connection!
(A)bort: Abort
Terminated by user.
transfer binary
No session

when i tried through WinScp GUI... it is getting connected to the remote server.

my batch file contains the below code...

option batch on
option confirm off
open username:pwd@IPAddress:Port#
option transfer binary
synchronize local t:\Srini\temp\temp /etc/etc
close
exit

can someone help on this please...

Thanks in advance,
Srini
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Try it with longer timeout.
_________________
Martin Prikryl
Bend

Guest


Hello,
how can I increase the Timeout in a script to avoid the following error ?

Host has not answered for 15 seconds.
Wait for another 15 seconds? Pressing 'Abort' button will close session.
(A)bort, (R)etry:
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Please read FAQ.
_________________
Martin Prikryl
Bend

Guest


Hi, i tryed saving winscp config to a ini file and then
called winscp with /console /script and /ini
but i can not open a stored session.
Help page says
open [sessionname]
Lets say session name stored in winscp382.ini is
testaccount
so the resulting command should be
open testaccunt
... or not?! O_o
Hmm, i still have problems with the timeout.
My script does sometimes not respond for a couple
of seconds and i want to get rid of this
retry abort message.
I thought it would work with the ini file and
a specific higer session timeout but i just don't get it
how to open a predefined session.

Thx in advance...
Bend

Guest


The ini file
[Sessions\testaccount]
HostName=machinename
Password=somemd5orwhateverstuff
PingType=0
UserName=bend
Timeout=600

winscp382.exe /console /ini=settings.ini /script=script.txt

how can i access
testaccount in script.txt
something like
open testaccount
does not work for me X_X
Bend

Guest


Now it works with
open session_name
Don't know why it didn't before but
who cares if it works Very Happy

Muchos Thx0rz... Bend
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