Posted: 2005-02-02 18:28
I am trying to use the following script to run a batch SFTP using WinSCP3. I am trying to FTP 2 files, each file is of size 500 MB. I started the script overnight and today i see that FTP has failed for reason "Host has not answered for 15 seconds." Given below is the script i tried to use and the Error logs; Could you pls help?
Thanks in advance
option batch on
option confirm off
open username@<IP address>
Searching for host...
Connecting to host...
Using username "username".
'username@IP Address' session password:
Starting the session...
Reading remote directory...
Active session:  username@IP
Unknown command 'transfer'.
test1.csv.aa | 244084 kB | 67.8 kB/s | binary | 56%
test1.csv.aa | 244112 kB | 67.8 kB/s | binary | 56%
Host has not answered for 15 seconds.
Wait for another 15 seconds? Pressing 'Abort' button will close session.
(A)bort, (R)etry: Abort
test1.csv.aa | 244124 kB | 67.5 kB/s | binary | 56%
Copying files to remote side failed.
Terminated by user.
Session 'username@IP' closed.
Location: Prague, Czechia
Does the error repeat? If it has happend only once, I can hardly give you any hint. The connection to your server can have been simply lost in the middle of the transfer. It happens. If the error repeats come back and post a log file.
You can post new topics in this forum
And it's free!