Now it works with
open session_name
Don't know why it didn't before but
who cares if it works :D
Muchos Thx0rz... Bend
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
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...
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:
Try it with longer timeout.
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