Hello,
Please find attached the requested log.
The file to transfer was : WSUS.vhdx
< 2016-12-15 21:37:04.695 230-OK. Current directory is /
< 2016-12-15 21:37:04.695 230 408096003 Kbytes used (77%) - authorized: 524185600 Kb
> 2016-12-15 21:37:04.695 SYST
< 2016-12-15 21:37:04.695 215 UNIX Type: L8
> 2016-12-15 21:37:04.695 FEAT
< 2016-12-15 21:37:04.695 211-Extensions supported:
< 2016-12-15 21:37:04.695 EPRT
< 2016-12-15 21:37:04.695 IDLE
< 2016-12-15 21:37:04.695 MDTM
< 2016-12-15 21:37:04.726 SIZE
< 2016-12-15 21:37:04.726 MFMT
< 2016-12-15 21:37:04.726 REST STREAM
< 2016-12-15 21:37:04.726 MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
< 2016-12-15 21:37:04.726 MLSD
< 2016-12-15 21:37:04.726 AUTH TLS
< 2016-12-15 21:37:04.726 PBSZ
< 2016-12-15 21:37:04.726 PROT
< 2016-12-15 21:37:04.726 TVFS
< 2016-12-15 21:37:04.726 ESTA
< 2016-12-15 21:37:04.726 PASV
< 2016-12-15 21:37:04.726 EPSV
< 2016-12-15 21:37:04.726 SPSV
< 2016-12-15 21:37:04.726 ESTP
< 2016-12-15 21:37:04.726 211 End.
< 2016-12-15 21:37:04.726 Script: Connected
. 2016-12-15 21:37:04.726 Connected
. 2016-12-15 21:37:04.726 Doing startup conversation with host.
< 2016-12-15 21:37:04.726 Script: Starting the session...
> 2016-12-15 21:37:04.726 PWD
< 2016-12-15 21:37:04.726 257 "/" is your current location
. 2016-12-15 21:37:04.726 Changing directory to "/Backup_VM/WSUS".
> 2016-12-15 21:37:04.726 CWD /Backup_VM/WSUS
< 2016-12-15 21:37:04.726 250 OK. Current directory is /Backup_VM/WSUS
. 2016-12-15 21:37:04.726 Getting current directory name.
> 2016-12-15 21:37:04.726 PWD
< 2016-12-15 21:37:04.726 257 "/Backup_VM/WSUS" is your current location
. 2016-12-15 21:37:04.726 Startup conversation with host finished.
< 2016-12-15 21:37:04.726 Script: Session started.
. 2016-12-15 21:37:04.726 File: 'Virtual Hard Disks\WSUS.vhdx' [2016-12-15T17:20:04.150Z] [29095886848]
. 2016-12-15 21:37:04.726 Copying "Virtual Hard Disks\WSUS.vhdx" to remote directory started.
. 2016-12-15 21:37:04.726 Binary transfer mode selected.
. 2016-12-15 21:37:04.726 Starting upload of Virtual Hard Disks\WSUS.vhdx
> 2016-12-15 21:37:04.726 CWD /Backup_VM/WSUS/Virtual Hard Disks/
< 2016-12-15 21:37:04.726 250 OK. Current directory is /Backup_VM/WSUS/Virtual Hard Disks
> 2016-12-15 21:37:04.726 PWD
< 2016-12-15 21:37:04.726 257 "/Backup_VM/WSUS/Virtual Hard Disks" is your current location
> 2016-12-15 21:37:04.726 TYPE A
< 2016-12-15 21:37:04.726 200 TYPE is now ASCII
> 2016-12-15 21:37:04.726 PASV
< 2016-12-15 21:37:04.726 227 Entering Passive Mode (178,33,121,127,63,58)
> 2016-12-15 21:37:04.757 MLSD
. 2016-12-15 21:37:04.757 Connecting to 178.33.121.127:16186 ...
< 2016-12-15 21:37:04.757 150 Accepted data connection
< 2016-12-15 21:37:04.757 226-Options: -a -l
< 2016-12-15 21:37:04.757 226 3 matches total
. 2016-12-15 21:37:04.757 Data connection closed
. 2016-12-15 21:37:04.757 type=cdir;sizd=3;modify=20161214223457;UNIX.mode=0755;UNIX.uid=100;UNIX.gid=100;unique=7ag2a9; .
. 2016-12-15 21:37:04.757 type=pdir;sizd=5;modify=20161214224335;UNIX.mode=0755;UNIX.uid=100;UNIX.gid=100;unique=7ag29f; ..
. 2016-12-15 21:37:04.757 type=file;size=29095886848;modify=20161214171627;UNIX.mode=0644;UNIX.uid=100;UNIX.gid=100;unique=7ag2aa; WSUS.vhdx
. 2016-12-15 21:37:04.773 File transfer was completed before disconnect
> 2016-12-15 21:37:04.773 MFMT 20161215172004 WSUS.vhdx
. 2016-12-15 21:37:19.384 Timeout detected. (control connection)
. 2016-12-15 21:37:19.384 Copying files to remote side failed.
. 2016-12-15 21:37:19.384 Connection was lost, asking what to do.
. 2016-12-15 21:37:19.384 Asking user:
. 2016-12-15 21:37:19.384 Lost connection. ("Timeout detected. (control connection)","Copying files to remote side failed.")
< 2016-12-15 21:37:19.384 Script: Lost connection.
< 2016-12-15 21:37:19.384 Script: Timeout detected. (control connection)
< 2016-12-15 21:37:19.384 Copying files to remote side failed.
How can I configure the script to retry when transfer of a file failed ?
Thanks in advance for your help.