I'm using WinSCP.com (Version 5.13.8 (Build 9278) (OS 6.1.7601 Service Pack 1 - Windows 7 Professional) to download files via FTP from a remote computer to a local Windows IIS ftp server. Our network is quite unstable and I have to reconnect often.
Here's the contents of Batch file that I'm using:
"C:\Program Files\WinSCP\WinSCP.com" ^ /log="D:\WinSCP.log" /ini=nul ^ /command ^ "open ftp://anonymous:email@example.com/" ^ "cd "Sterlitamak" " ^ "lcd "D:\Beholder\Audio" " ^ "synchronize remote -transfer=binary -filemask=*>1M>=%%TIMESTAMP-1D#yyyy-mm-dd%%<%%TIMESTAMP#yyyy-mm-dd%% -resumesupport=on" ^ "exit"
Connecting to 10.2.2.21 ... Connected Starting the session... Session started. TV-591,25( | 259799 KB | 0,0 KB/s | binary | 12% Lost connection. Timeout detected. (data connection) Copying files to remote side failed. (A)bort, (R)econnect (0 s): Reconnect Connecting to 10.2.2.21 ... Connected Starting the session... Session started. TV-591,25( | 0 B | 0,0 KB/s | binary | 0% Error transferring file 'TV-591,25(190302-2200).wmv'. Copying files to remote side failed. The process cannot access the file because it is being used by another process. (A)bort, (R)etry, (S)kip, Ski(p) all: Abort
Thanks in advance, would be great to get this problem solved!