I am using a simple script for synchronization
option batch on
option confirm off
open ftp://xxxx:xxxx@xxxxx.com:21
option transfer
synchronize remote F:\BACKUPS\SQLDailyBackup\ /sql_databases
close
exit
and when the sync goes to the last file and upload it (FTP server reports success on that upload)
WinSCP says that upload is not succesfull and loop on that file.
Here is part of the log:
. 2008-03-21 00:20:57.760 Starting upload of F:\BACKUPS\SQLDailyBackup\[MLSPDatabase]_[full]_[2008_03_20_22_39_54].bk
> 2008-03-21 00:20:57.760 TYPE I
< 2008-03-21 00:20:57.760 200 Type set to I.
> 2008-03-21 00:20:57.776 PORT 80,80,159,4,10,83
< 2008-03-21 00:20:57.776 200 Port command successful.
> 2008-03-21 00:20:57.776 STOR [MLSPDatabase]_[full]_[2008_03_20_22_39_54].bk
< 2008-03-21 00:20:57.823 150 Opening data connection for [MLSPDatabase]_[full]_[2008_03_20_22_39_54].bk
. 2008-03-21 00:23:08.588 Timeout detected.
. 2008-03-21 00:23:08.588 Copying files to remote side failed.
. 2008-03-21 00:23:08.588 Connection was lost, asking what to do.
. 2008-03-21 00:23:08.588 Asking user:
. 2008-03-21 00:23:08.588 Lost connection. ("Timeout detected.","Copying files to remote side failed.","Opening data connection for [MLSPDatabase]_[full]_[2008_03_20_22_39_54].bk")
Reply with quote